Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeliverClient ¶
func NewDeliverClient(rootPath string, closeWhenAllRead bool) (peer.DeliverClient, error)
Types ¶
type BlocksDelivererMock ¶ added in v0.10.0
type BlocksDelivererMock struct {
// contains filtered or unexported fields
}
func NewBlocksDelivererMock ¶ added in v0.10.0
func NewBlocksDelivererMock(rootPath string, closeWhenAllRead bool) (*BlocksDelivererMock, error)
NewBlocksDelivererMock - read all blocks in proto format from provided folder. returns sdkapi.BlocksDeliverer - interface closeWhenAllRead - close channel when all data have been written closerFunc - close func that will be returned from Blocks()
Click to show internal directories.
Click to hide internal directories.