Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageType ¶
type MessageType int
const ( MessNil MessageType = 1 + iota MessAnnounce MessHello MessRAW MessMessenger MessFileSync )
type ServerMessage ¶
type ServerMessage struct { Sender serverinfo.ServerInfo Receiver serverinfo.ServerInfo Network network.Network Message ServerMessageContent }
type ServerMessageContent ¶
type ServerMessageContent struct { Type MessageType Version float32 Content []byte }
Click to show internal directories.
Click to hide internal directories.