30 lines
610 B
Go
30 lines
610 B
Go
package v1
|
|
|
|
import (
|
|
"context"
|
|
|
|
"forge.cadoles.com/cadoles/go-emlid/reach/client/protocol"
|
|
)
|
|
|
|
const Identifier protocol.Identifier = "v1"
|
|
|
|
type Protocol struct {
|
|
}
|
|
|
|
// Available implements protocol.Protocol.
|
|
func (p *Protocol) Available(ctx context.Context, addr string) (bool, error) {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
// Identifier implements protocol.Protocol.
|
|
func (p *Protocol) Identifier() protocol.Identifier {
|
|
return Identifier
|
|
}
|
|
|
|
// Operations implements protocol.Protocol.
|
|
func (p *Protocol) Operations(addr string) protocol.Operations {
|
|
panic("unimplemented")
|
|
}
|
|
|
|
var _ protocol.Protocol = &Protocol{}
|