1 Star 0 Fork 0

BUPT-ZKJC / fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
security_advisor.go 692 Bytes
一键复制 编辑 原始数据 按行查看 历史
MJL 提交于 2021-08-06 18:37 . first commit
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
api "gitee.com/bupt-zkjc/fabric/gossip/api"
mock "github.com/stretchr/testify/mock"
)
// SecurityAdvisor is an autogenerated mock type for the SecurityAdvisor type
type SecurityAdvisor struct {
mock.Mock
}
// OrgByPeerIdentity provides a mock function with given fields: _a0
func (_m *SecurityAdvisor) OrgByPeerIdentity(_a0 api.PeerIdentityType) api.OrgIdentityType {
ret := _m.Called(_a0)
var r0 api.OrgIdentityType
if rf, ok := ret.Get(0).(func(api.PeerIdentityType) api.OrgIdentityType); ok {
r0 = rf(_a0)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(api.OrgIdentityType)
}
}
return r0
}
1
https://gitee.com/bupt-zkjc/fabric.git
git@gitee.com:bupt-zkjc/fabric.git
bupt-zkjc
fabric
fabric
98d302355562

搜索帮助

53164aa7 5694891 3bd8fe86 5694891