Documentation
¶
Index ¶
Constants ¶
View Source
const MAXPEERS = 4096
MAXPEERS is the maximum number of peers in buffer.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶ added in v0.2.1
type Buffer struct {
// contains filtered or unexported fields
}
Buffer is the buffer with peers.
func (*Buffer) RemovePeer ¶ added in v0.2.1
RemovePeer removes a peer from peers buffer.
Click to show internal directories.
Click to hide internal directories.