go-emlid/reach/client/protocol/protocol.go

14 lines
213 B
Go

package protocol
import (
"context"
)
type Identifier string
type Protocol interface {
Identifier() Identifier
Available(ctx context.Context, addr string) (bool, error)
Operations(addr string) Operations
}