Documentation
¶
Index ¶
- func DecodeTCPHeader(b *bufio.Reader) (netapi.Address, error)
- func DecodeUDPHeader(b *bufio.Reader) (uint64, netapi.Address, []byte, error)
- func EncodeHeader(username, password string, protocol Protocol) []byte
- func EncodeTCPHeader(addr netapi.Address, data []byte) []byte
- func EncodeUDPHeader(migrateID uint64, addr netapi.Address, data []byte) []byte
- type Protocol
- type UserAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeUDPHeader ¶
func EncodeHeader ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.