Documentation ¶
Index ¶
Constants ¶
View Source
const ( SyncMsgRegType = iota SyncMsgRenewType SyncMsgCancelType )
View Source
const DefaultEndpoint = "127.0.0.1:8005"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
peer
func NewPeerEndpoint ¶
new a peer with endpoint
type PeerPool ¶
type PeerPool struct {
// contains filtered or unexported fields
}
peer pool
func NewPeerPoolWithEndpoints ¶
new a peer pool with endpoints
type SyncMsgType ¶
type SyncMsgType int32
Click to show internal directories.
Click to hide internal directories.