Documentation ¶
Index ¶
- Constants
- func ReadUint64(stream io.Reader) (uint64, error)
- func SendAuth(stream io.Writer, authPeer AuthPeer) error
- func SendAuthResponse(stream io.Writer, response AuthPeerResponse) error
- func SendStatus(stream io.Writer, statusInfo PeerStatusInfo) error
- func WriteUint64(stream io.Writer, number uint64) error
- type AuthPeer
- type AuthPeerResponse
- type PeerStatusInfo
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func SendAuthResponse ¶
func SendAuthResponse(stream io.Writer, response AuthPeerResponse) error
func SendStatus ¶
func SendStatus(stream io.Writer, statusInfo PeerStatusInfo) error
Types ¶
type AuthPeerResponse ¶
func ReceiveAuthResponse ¶
func ReceiveAuthResponse(stream io.Reader) (AuthPeerResponse, error)
type PeerStatusInfo ¶
func ReceiveStatus ¶
func ReceiveStatus(stream io.Reader) (PeerStatusInfo, error)
Click to show internal directories.
Click to hide internal directories.