fabric: github.com/hyperledger/fabric/peer/chaincode/mock Index | Files

package mock

import "github.com/hyperledger/fabric/peer/chaincode/mock"

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

deliver.go

type Deliver Uses

type Deliver struct {
    SendStub func(*pcommon.Envelope) error

    RecvStub func() (*pb.DeliverResponse, error)

    CloseSendStub func() error
    // contains filtered or unexported fields
}

func (*Deliver) CloseSend Uses

func (fake *Deliver) CloseSend() error

func (*Deliver) CloseSendCallCount Uses

func (fake *Deliver) CloseSendCallCount() int

func (*Deliver) CloseSendReturns Uses

func (fake *Deliver) CloseSendReturns(result1 error)

func (*Deliver) CloseSendReturnsOnCall Uses

func (fake *Deliver) CloseSendReturnsOnCall(i int, result1 error)

func (*Deliver) Invocations Uses

func (fake *Deliver) Invocations() map[string][][]interface{}

func (*Deliver) Recv Uses

func (fake *Deliver) Recv() (*pb.DeliverResponse, error)

func (*Deliver) RecvCallCount Uses

func (fake *Deliver) RecvCallCount() int

func (*Deliver) RecvReturns Uses

func (fake *Deliver) RecvReturns(result1 *pb.DeliverResponse, result2 error)

func (*Deliver) RecvReturnsOnCall Uses

func (fake *Deliver) RecvReturnsOnCall(i int, result1 *pb.DeliverResponse, result2 error)

func (*Deliver) Send Uses

func (fake *Deliver) Send(arg1 *pcommon.Envelope) error

func (*Deliver) SendArgsForCall Uses

func (fake *Deliver) SendArgsForCall(i int) *pcommon.Envelope

func (*Deliver) SendCallCount Uses

func (fake *Deliver) SendCallCount() int

func (*Deliver) SendReturns Uses

func (fake *Deliver) SendReturns(result1 error)

func (*Deliver) SendReturnsOnCall Uses

func (fake *Deliver) SendReturnsOnCall(i int, result1 error)

Package mock imports 4 packages (graph). Updated 2018-07-06. Refresh now. Tools for package owners.