Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientVersionProvider ¶
type ClientVersionProvider struct {
// contains filtered or unexported fields
}
ClientVersionProvider implements client versions.
func New ¶
func New(clientVersions []protocol.Version, opts ...Option) (*ClientVersionProvider, error)
New creates new client version provider.
type Option ¶
type Option func(opts *ClientVersionProvider)
Option is an option for client.
func WithCurrentProtocolVersion ¶
WithCurrentProtocolVersion sets optional current client protocol version (defaults to last registered protocol).
Click to show internal directories.
Click to hide internal directories.