Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockFileIO ¶
type BlockFileIO interface {
BlockReader
BlockWriter
}
type BlockReader ¶
type BlockServer ¶
type BlockServer struct {
BlockFileIO
BlockSocketIO
// contains filtered or unexported fields
}
func (*BlockServer) DownloadBlock ¶
func (b *BlockServer) DownloadBlock(startBlockIndex int64, blockCount int64) (count int64, err error)
type BlockSocketIO ¶
type BlockSocketIO interface {
BlockReader
BlockWriter
}
Click to show internal directories.
Click to hide internal directories.