piecewriter

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PieceWriter

type PieceWriter struct {
	Piece  *piece.Piece
	Peer   *peer.Peer
	Buffer bufferpool.Buffer

	HashOK bool
	Error  error
}

func New

func New(p *piece.Piece, pe *peer.Peer, buf bufferpool.Buffer) *PieceWriter

func (*PieceWriter) Run

func (w *PieceWriter) Run(resultC chan *PieceWriter, closeC chan struct{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL