1 Star 0 Fork 0

小庄 / fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
chain_replicator.go 741 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
common "github.com/hyperledger/fabric-protos-go/common"
mock "github.com/stretchr/testify/mock"
)
// ChainReplicator is an autogenerated mock type for the ChainReplicator type
type ChainReplicator struct {
mock.Mock
}
// ReplicateChains provides a mock function with given fields: lastConfigBlock, chains
func (_m *ChainReplicator) ReplicateChains(lastConfigBlock *common.Block, chains []string) []string {
ret := _m.Called(lastConfigBlock, chains)
var r0 []string
if rf, ok := ret.Get(0).(func(*common.Block, []string) []string); ok {
r0 = rf(lastConfigBlock, chains)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]string)
}
}
return r0
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhuanglicheng/fabric.git
git@gitee.com:zhuanglicheng/fabric.git
zhuanglicheng
fabric
fabric
v2.0.0

搜索帮助

344bd9b3 5694891 D2dac590 5694891