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

13 lines
271 B
Go

package v1
import "forge.cadoles.com/cadoles/go-emlid/reach/client/protocol"
func init() {
protocol.Register(Identifier, func(opts *protocol.ProtocolOptions) (protocol.Protocol, error) {
return &Protocol{
logger: opts.Logger,
dial: opts.Dial,
}, nil
})
}