mocks

package
v0.0.0-...-95b87ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FabricTxSubmitter

type FabricTxSubmitter struct {
	mock.Mock
}

func (*FabricTxSubmitter) Submit

func (_m *FabricTxSubmitter) Submit(tx []byte) error

type Identity

type Identity struct {
	mock.Mock
}

func (*Identity) Serialize

func (_m *Identity) Serialize() ([]byte, error)

type Prover

type Prover struct {
	mock.Mock
}

func (*Prover) RequestImport

func (_m *Prover) RequestImport(tokensToIssue []*token.TokenToIssue, signingIdentity blockchaintoken.SigningIdentity) ([]byte, error)

func (*Prover) RequestTransfer

func (_m *Prover) RequestTransfer(tokenIDs [][]byte, shares []*token.RecipientTransferShare, signingIdentity blockchaintoken.SigningIdentity) ([]byte, error)

type ProverClient

type ProverClient struct {
	mock.Mock
}

func (*ProverClient) ProcessCommand

func (_m *ProverClient) ProcessCommand(ctx context.Context, in *token.SignedCommand, opts ...grpc.CallOption) (*token.SignedCommandResponse, error)

type Reader

type Reader struct {
	mock.Mock
}

func (*Reader) Read

func (_m *Reader) Read(p []byte) (int, error)

type SigningIdentity

type SigningIdentity struct {
	mock.Mock
}

func (*SigningIdentity) GetPublicVersion

func (_m *SigningIdentity) GetPublicVersion() token.Identity

func (*SigningIdentity) Serialize

func (_m *SigningIdentity) Serialize() ([]byte, error)

func (*SigningIdentity) Sign

func (_m *SigningIdentity) Sign(msg []byte) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL