Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Code generated by mockery v1.0.0. 不要编辑。
Index ¶
- type BlockVerifier
- type ChainPuller
- type ChannelLister
- type ClusterClient
- type Communicator
- type Dispatcher
- type Handler
- type LedgerFactory
- type LedgerWriter
- type SecureDialer
- type SubmitClient
- func (_m *SubmitClient) CloseSend() error
- func (_m *SubmitClient) Context() context.Context
- func (_m *SubmitClient) Header() (metadata.MD, error)
- func (_m *SubmitClient) Recv() (*orderer.SubmitResponse, error)
- func (_m *SubmitClient) RecvMsg(m interface{}) error
- func (_m *SubmitClient) Send(request *orderer.SubmitRequest) error
- func (_m *SubmitClient) SendMsg(m interface{}) error
- func (_m *SubmitClient) Trailer() metadata.MD
- type SubmitStream
- func (_m *SubmitStream) Context() context.Context
- func (_m *SubmitStream) Recv() (*orderer.SubmitRequest, error)
- func (_m *SubmitStream) RecvMsg(m interface{}) error
- func (_m *SubmitStream) Send(response *orderer.SubmitResponse) error
- func (_m *SubmitStream) SendHeader(_a0 metadata.MD) error
- func (_m *SubmitStream) SendMsg(m interface{}) error
- func (_m *SubmitStream) SetHeader(_a0 metadata.MD) error
- func (_m *SubmitStream) SetTrailer(_a0 metadata.MD)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockVerifier ¶
BlockVerifier是BlockVerifier类型的自动生成的模拟类型
func (*BlockVerifier) VerifyBlockSignature ¶
func (_m *BlockVerifier) VerifyBlockSignature(sd []*common.SignedData, config *common.ConfigEnvelope) error
verifyblocksignature提供了一个具有给定字段的模拟函数:sd,config
type ChainPuller ¶
chainpuller是为chainpuller类型自动生成的模拟类型
func (*ChainPuller) HeightsByEndpoints ¶
func (_m *ChainPuller) HeightsByEndpoints() map[string]uint64
Heightsbyendpoints为给定字段提供模拟函数:
type ChannelLister ¶
ChannelLister是ChannelLister类型的自动生成的模拟类型
type ClusterClient ¶
clusterClient是为clusterClient类型自动生成的模拟类型
func (*ClusterClient) Step ¶
func (_m *ClusterClient) Step(ctx context.Context, in *orderer.StepRequest, opts ...grpc.CallOption) (*orderer.StepResponse, error)
步骤为给定字段提供模拟函数:ctx、in、opts
func (*ClusterClient) Submit ¶
func (_m *ClusterClient) Submit(ctx context.Context, opts ...grpc.CallOption) (orderer.Cluster_SubmitClient, error)
Submit提供了一个具有给定字段的模拟函数:ctx、opts
type Communicator ¶
Communicator是为Communicator类型自动生成的模拟类型
func (*Communicator) Configure ¶
func (_m *Communicator) Configure(channel string, members []cluster.RemoteNode)
配置为给定字段提供模拟函数:通道、成员
func (*Communicator) Remote ¶
func (_m *Communicator) Remote(channel string, id uint64) (*cluster.RemoteContext, error)
远程提供了一个具有给定字段的模拟函数:channel,id
type Dispatcher ¶
Dispatcher是为Dispatcher类型自动生成的模拟类型
func (*Dispatcher) DispatchStep ¶
func (_m *Dispatcher) DispatchStep(ctx context.Context, request *orderer.StepRequest) (*orderer.StepResponse, error)
DispatchStep提供了一个具有给定字段的模拟函数:ctx,request
func (*Dispatcher) DispatchSubmit ¶
func (_m *Dispatcher) DispatchSubmit(ctx context.Context, request *orderer.SubmitRequest) (*orderer.SubmitResponse, error)
DispatchSubmit提供了一个具有给定字段的模拟函数:ctx,request
type Handler ¶
处理程序是处理程序类型的自动生成的模拟类型
func (*Handler) OnStep ¶
func (_m *Handler) OnStep(channel string, sender uint64, req *orderer.StepRequest) (*orderer.StepResponse, error)
onstep提供了一个具有给定字段的模拟函数:channel、sender、req
func (*Handler) OnSubmit ¶
func (_m *Handler) OnSubmit(channel string, sender uint64, req *orderer.SubmitRequest) (*orderer.SubmitResponse, error)
onsubmit提供了一个具有给定字段的模拟函数:channel、sender、req
type LedgerFactory ¶
LedgerFactory是LedgerFactory类型的自动生成的模拟类型
func (*LedgerFactory) GetOrCreate ¶
func (_m *LedgerFactory) GetOrCreate(chainID string) (cluster.LedgerWriter, error)
GetorCreate提供了一个具有给定字段的模拟函数:chainID
type LedgerWriter ¶
LedgerWriter是为LedgerWriter类型自动生成的模拟类型
type SecureDialer ¶
SecureDialer是SecureDialer类型的自动生成的模拟类型
func (*SecureDialer) Dial ¶
func (_m *SecureDialer) Dial(address string, verifyFunc cluster.RemoteVerifier) (*grpc.ClientConn, error)
dial提供了一个具有给定字段的模拟函数:address、verifyfunc
type SubmitClient ¶
SubmitClient是为SubmitClient类型自动生成的模拟类型
func (*SubmitClient) CloseSend ¶
func (_m *SubmitClient) CloseSend() error
closesend提供了一个具有给定字段的模拟函数:
func (*SubmitClient) Header ¶
func (_m *SubmitClient) Header() (metadata.MD, error)
header提供具有给定字段的模拟函数:
func (*SubmitClient) Recv ¶
func (_m *SubmitClient) Recv() (*orderer.SubmitResponse, error)
recv提供了一个具有给定字段的模拟函数:
func (*SubmitClient) RecvMsg ¶
func (_m *SubmitClient) RecvMsg(m interface{}) error
recvmsg提供具有给定字段的模拟函数:m
func (*SubmitClient) Send ¶
func (_m *SubmitClient) Send(request *orderer.SubmitRequest) error
send提供具有给定字段的模拟函数:request
func (*SubmitClient) SendMsg ¶
func (_m *SubmitClient) SendMsg(m interface{}) error
sendmsg提供具有给定字段的模拟函数:m
type SubmitStream ¶
SubmitStream是SubmitStream类型的自动生成的模拟类型
func (*SubmitStream) Recv ¶
func (_m *SubmitStream) Recv() (*orderer.SubmitRequest, error)
recv提供了一个具有给定字段的模拟函数:
func (*SubmitStream) RecvMsg ¶
func (_m *SubmitStream) RecvMsg(m interface{}) error
recvmsg提供具有给定字段的模拟函数:m
func (*SubmitStream) Send ¶
func (_m *SubmitStream) Send(response *orderer.SubmitResponse) error
send提供具有给定字段的模拟函数:response
func (*SubmitStream) SendHeader ¶
func (_m *SubmitStream) SendHeader(_a0 metadata.MD) error
sendHeader提供了一个具有给定字段的模拟函数:a0
func (*SubmitStream) SendMsg ¶
func (_m *SubmitStream) SendMsg(m interface{}) error
sendmsg提供具有给定字段的模拟函数:m
func (*SubmitStream) SetHeader ¶
func (_m *SubmitStream) SetHeader(_a0 metadata.MD) error
setheader提供具有给定字段的模拟函数:a0
func (*SubmitStream) SetTrailer ¶
func (_m *SubmitStream) SetTrailer(_a0 metadata.MD)
settrailer提供具有给定字段的模拟函数:a0