mocks

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func (*Provider) AddPublicDir

func (_m *Provider) AddPublicDir(url string, path string) error

AddPublicDir provides a mock function with given fields: url, path

func (*Provider) AddPublicFile

func (_m *Provider) AddPublicFile(url string, path string) error

AddPublicFile provides a mock function with given fields: url, path

func (*Provider) AddRoute

func (_m *Provider) AddRoute(_a0 router.Route) error

AddRoute provides a mock function with given fields: _a0

func (*Provider) HTTPHandler

func (_m *Provider) HTTPHandler() http.Handler

HTTPHandler provides a mock function with given fields:

func (*Provider) SetNotFound

func (_m *Provider) SetNotFound(_a0 http.Handler)

SetNotFound provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳