Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommandAuthenticate = iota CommandConnect CommandPacket CommandDissociate CommandHeartbeat )
View Source
const AuthenticateLen = 2 + 16 + 32
View Source
const (
Version = 5
)
Variables ¶
View Source
var AddressSerializer = M.NewSerializer( M.AddressFamilyByte(0x00, M.AddressFamilyFqdn), M.AddressFamilyByte(0x01, M.AddressFamilyIPv4), M.AddressFamilyByte(0x02, M.AddressFamilyIPv6), M.AddressFamilyByte(0xff, M.AddressFamilyEmpty), )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options ClientOptions) (*Client, error)
func (*Client) CloseWithError ¶
func (*Client) ListenPacket ¶
type ClientOptions ¶
type Service ¶
type Service[U comparable] struct { // contains filtered or unexported fields }
func NewService ¶
func NewService[U comparable](options ServiceOptions) (*Service[U], error)
func (*Service[U]) UpdateUsers ¶
type ServiceHandler ¶
type ServiceHandler interface { N.TCPConnectionHandler N.UDPConnectionHandler }
Click to show internal directories.
Click to hide internal directories.