Versions in this module Expand all Collapse all v1 v1.5.6 Oct 3, 2021 Changes in this version + type ChannelManagement struct + ChannelInfoStub func(string) (types.ChannelInfo, error) + ChannelListStub func() types.ChannelList + JoinChannelStub func(string, *common.Block, bool) (types.ChannelInfo, error) + RemoveChannelStub func(string, bool) error + func (fake *ChannelManagement) ChannelInfo(arg1 string) (types.ChannelInfo, error) + func (fake *ChannelManagement) ChannelInfoArgsForCall(i int) string + func (fake *ChannelManagement) ChannelInfoCallCount() int + func (fake *ChannelManagement) ChannelInfoCalls(stub func(string) (types.ChannelInfo, error)) + func (fake *ChannelManagement) ChannelInfoReturns(result1 types.ChannelInfo, result2 error) + func (fake *ChannelManagement) ChannelInfoReturnsOnCall(i int, result1 types.ChannelInfo, result2 error) + func (fake *ChannelManagement) ChannelList() types.ChannelList + func (fake *ChannelManagement) ChannelListCallCount() int + func (fake *ChannelManagement) ChannelListCalls(stub func() types.ChannelList) + func (fake *ChannelManagement) ChannelListReturns(result1 types.ChannelList) + func (fake *ChannelManagement) ChannelListReturnsOnCall(i int, result1 types.ChannelList) + func (fake *ChannelManagement) Invocations() map[string][][]interface{} + func (fake *ChannelManagement) JoinChannel(arg1 string, arg2 *common.Block, arg3 bool) (types.ChannelInfo, error) + func (fake *ChannelManagement) JoinChannelArgsForCall(i int) (string, *common.Block, bool) + func (fake *ChannelManagement) JoinChannelCallCount() int + func (fake *ChannelManagement) JoinChannelCalls(stub func(string, *common.Block, bool) (types.ChannelInfo, error)) + func (fake *ChannelManagement) JoinChannelReturns(result1 types.ChannelInfo, result2 error) + func (fake *ChannelManagement) JoinChannelReturnsOnCall(i int, result1 types.ChannelInfo, result2 error) + func (fake *ChannelManagement) RemoveChannel(arg1 string, arg2 bool) error + func (fake *ChannelManagement) RemoveChannelArgsForCall(i int) (string, bool) + func (fake *ChannelManagement) RemoveChannelCallCount() int + func (fake *ChannelManagement) RemoveChannelCalls(stub func(string, bool) error) + func (fake *ChannelManagement) RemoveChannelReturns(result1 error) + func (fake *ChannelManagement) RemoveChannelReturnsOnCall(i int, result1 error)