1 Star 0 Fork 0

妥協/fabric

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

搜索帮助