Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxBlockSize = 16 * 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerReader ¶
type PeerReader struct {
// contains filtered or unexported fields
}
func (*PeerReader) Done ¶
func (p *PeerReader) Done() chan struct{}
func (*PeerReader) Messages ¶
func (p *PeerReader) Messages() <-chan interface{}
func (*PeerReader) Run ¶
func (p *PeerReader) Run()
func (*PeerReader) Stop ¶
func (p *PeerReader) Stop()
type Piece ¶
type Piece struct { peerprotocol.PieceMessage Buffer bufferpool.Buffer }
Click to show internal directories.
Click to hide internal directories.