Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a connection to a server. It is used to read and write packets to the server, and to manage the connection to the server.
func (*Conn) ReadPacket ¶
ReadPacket reads a packet from the connection. It returns the packet read, or an error if the packet could not be read.
type Dialer ¶
type Dialer struct {
Origin string
Token string
ClientData login.ClientData
IdentityData login.IdentityData
}
type StaticDiscovery ¶
type StaticDiscovery struct {
// contains filtered or unexported fields
}
func NewStaticDiscovery ¶
func NewStaticDiscovery(server string) *StaticDiscovery
Click to show internal directories.
Click to hide internal directories.