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

13 lines
271 B
Go
Raw Normal View History

2024-07-30 14:28:39 +02:00
package v1
import "forge.cadoles.com/cadoles/go-emlid/reach/client/protocol"
func init() {
2024-08-02 12:57:07 +02:00
protocol.Register(Identifier, func(opts *protocol.ProtocolOptions) (protocol.Protocol, error) {
return &Protocol{
logger: opts.Logger,
dial: opts.Dial,
2024-08-02 12:57:07 +02:00
}, nil
})
2024-07-30 14:28:39 +02:00
}