fix: protocol v1
This commit is contained in:
@ -3,5 +3,9 @@ package v1
|
||||
import "forge.cadoles.com/cadoles/go-emlid/reach/client/protocol"
|
||||
|
||||
func init() {
|
||||
protocol.Register(&Protocol{})
|
||||
protocol.Register(Identifier, func(opts *protocol.ProtocolOptions) (protocol.Protocol, error) {
|
||||
return &Protocol{
|
||||
logger: opts.Logger,
|
||||
}, nil
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user