cryptofakes

package
v94.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSigner

type FakeSigner struct {
	SignStub func([]byte) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeSigner) Invocations

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

func (*FakeSigner) Sign

func (fake *FakeSigner) Sign(arg1 []byte) ([]byte, error)

func (*FakeSigner) SignArgsForCall

func (fake *FakeSigner) SignArgsForCall(i int) []byte

func (*FakeSigner) SignCallCount

func (fake *FakeSigner) SignCallCount() int

func (*FakeSigner) SignReturns

func (fake *FakeSigner) SignReturns(result1 []byte, result2 error)

func (*FakeSigner) SignReturnsOnCall

func (fake *FakeSigner) SignReturnsOnCall(i int, result1 []byte, result2 error)

type FakeVerifier

type FakeVerifier struct {
	VerifyStub func([]byte, []byte) error
	// contains filtered or unexported fields
}

func (*FakeVerifier) Invocations

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

func (*FakeVerifier) Verify

func (fake *FakeVerifier) Verify(arg1 []byte, arg2 []byte) error

func (*FakeVerifier) VerifyArgsForCall

func (fake *FakeVerifier) VerifyArgsForCall(i int) ([]byte, []byte)

func (*FakeVerifier) VerifyCallCount

func (fake *FakeVerifier) VerifyCallCount() int

func (*FakeVerifier) VerifyReturns

func (fake *FakeVerifier) VerifyReturns(result1 error)

func (*FakeVerifier) VerifyReturnsOnCall

func (fake *FakeVerifier) VerifyReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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