Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HoleRequest ¶
type HoleRequest struct {
UserId int32
}
func (HoleRequest) MustMarshalBinary ¶
func (hr HoleRequest) MustMarshalBinary() (data []byte)
type HoleResponse ¶
type HoleResponse struct {
Status HoleStatus
}
func ConnectOk ¶
func ConnectOk() HoleResponse
func (HoleResponse) MarshalBinary ¶
func (hr HoleResponse) MarshalBinary() (data []byte, err error)
func (HoleResponse) MustMarshalBinary ¶
func (hr HoleResponse) MustMarshalBinary() (data []byte)
type HoleStatus ¶
type HoleStatus byte
const ( HS_Unknow HoleStatus = iota HS_invalid HS_Connected )
Click to show internal directories.
Click to hide internal directories.