mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Send

func (_m *Client) Send(ctx context.Context, msg sspvo.Message) sspvo.Response

Send provides a mock function with given fields: ctx, msg

type Crypto

type Crypto struct {
	mock.Mock
}

Crypto is an autogenerated mock type for the Crypto type

func (*Crypto) GetCert

func (_m *Crypto) GetCert() string

GetCert provides a mock function with given fields:

func (*Crypto) GetVerifyCrypto

func (_m *Crypto) GetVerifyCrypto(cert string) (sspvo.Crypto, error)

GetVerifyCrypto provides a mock function with given fields: cert

func (*Crypto) Hash

func (_m *Crypto) Hash(data []byte) []byte

Hash provides a mock function with given fields: data

func (*Crypto) Sign

func (_m *Crypto) Sign(digest []byte) ([]byte, error)

Sign provides a mock function with given fields: digest

func (*Crypto) Verify

func (_m *Crypto) Verify(sign []byte, digest []byte) (bool, error)

Verify provides a mock function with given fields: sign, digest

Jump to

Keyboard shortcuts

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