Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CateOption ¶
Types ¶
type ED25519Key ¶
type ED25519Key struct {
Key []byte
// contains filtered or unexported fields
}
func NewED25519Key ¶
func NewED25519Key() (*ED25519Key, error)
func (*ED25519Key) Equal ¶
func (k *ED25519Key) Equal(s Signer) bool
func (*ED25519Key) ID ¶
func (k *ED25519Key) ID() ID
func (*ED25519Key) Public ¶
func (k *ED25519Key) Public() Signer
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func Start ¶
Start creates a new multiplayer state for the given net.Conn and starts listening for packets. The connection must be a packet-oriented connection such as net.UDPConn.
Click to show internal directories.
Click to hide internal directories.