mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAService

type CAService struct {
	mock.Mock
}

CAService is an autogenerated mock type for the CAService type

func (*CAService) ParseTaxpayerCertificate

func (_m *CAService) ParseTaxpayerCertificate(data []byte, password string) (*x509.Certificate, *rsa.PrivateKey, error)

ParseTaxpayerCertificate provides a mock function with given fields: data, password

func (*CAService) VerifyDSig

func (_m *CAService) VerifyDSig(cert *x509.Certificate) error

VerifyDSig provides a mock function with given fields: cert

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Do

func (_m *Client) Do(ctx context.Context, reqBody []byte) ([]byte, error)

Do provides a mock function with given fields: ctx, reqBody

func (*Client) Ping

func (_m *Client) Ping() error

Ping provides a mock function with given fields:

Jump to

Keyboard shortcuts

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