Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlocksDelivererMock ¶
type BlocksDelivererMock struct {
// contains filtered or unexported fields
}
func NewBlocksDelivererMock ¶
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()
type ChannelsFetcherMock ¶
type ChannelsFetcherMock struct {
// contains filtered or unexported fields
}
func NewChannelsFetcherMock ¶
func NewChannelsFetcherMock(channels []string) *ChannelsFetcherMock
func (ChannelsFetcherMock) GetChannels ¶
func (c ChannelsFetcherMock) GetChannels(ctx context.Context) (*peer.ChannelQueryResponse, error)
Click to show internal directories.
Click to hide internal directories.