mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	mock.Mock
}

API is an autogenerated mock type for the API type

func (*API) Call

func (_m *API) Call(endpoint string) ([]byte, error)

Call provides a mock function with given fields: endpoint

func (*API) CallWithContext

func (_m *API) CallWithContext(ctx context.Context, endpoint string) ([]byte, error)

CallWithContext provides a mock function with given fields: ctx, endpoint

Jump to

Keyboard shortcuts

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