Documentation
¶
Index ¶
- type Master
- func (m *Master) MarshalBinaryHeader() []byte
- func (m *Master) MarshalBinarySet(input map[string]*protocol.Server) []byte
- func (m *Master) Query(conn net.Conn, id int, options *protocol.Options) error
- func (m *Master) SendResponse(conn *net.PacketConn, addr *net.UDPAddr, options *protocol.Options)
- func (m *Master) UnmarshalBinary(p *protocol.Packet) error
- type Query
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Master ¶
type Master struct { Address string CommonName string MOTDJunk string `json:"-"` MOTD string Servers map[string]*protocol.Server `json:"-"` Ping time.Duration MasterID uint16 // contains filtered or unexported fields }
func (*Master) MarshalBinaryHeader ¶ added in v1.2.0
func (*Master) MarshalBinarySet ¶ added in v1.2.0
func (*Master) SendResponse ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.