feat: initial commit
This commit is contained in:
13
reach/client/protocol/protocol.go
Normal file
13
reach/client/protocol/protocol.go
Normal file
@ -0,0 +1,13 @@
|
||||
package protocol
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type Identifier string
|
||||
|
||||
type Protocol interface {
|
||||
Identifier() Identifier
|
||||
Available(ctx context.Context, addr string) (bool, error)
|
||||
Operations(addr string) Operations
|
||||
}
|
Reference in New Issue
Block a user