Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	mock.Mock
}

Gateway is an autogenerated mock type for the Gateway type

func (*Gateway) AddAPI

func (_m *Gateway) AddAPI(api *gateway.API) (*gateway.API, error)

AddAPI provides a mock function with given fields: api

func (*Gateway) DeleteAPI

func (_m *Gateway) DeleteAPI(api *gateway.API) error

DeleteAPI provides a mock function with given fields: api

func (*Gateway) GetAPI

func (_m *Gateway) GetAPI(name string) (*gateway.API, error)

GetAPI provides a mock function with given fields: name

func (*Gateway) UpdateAPI

func (_m *Gateway) UpdateAPI(name string, api *gateway.API) (*gateway.API, error)

UpdateAPI provides a mock function with given fields: name, api

Jump to

Keyboard shortcuts

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