mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 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 Recovery

type Recovery struct {
	mock.Mock
}

Recovery is an autogenerated mock type for the Recovery type

func (*Recovery) HttpRecovery

func (_m *Recovery) HttpRecovery() gin.HandlerFunc

HttpRecovery provides a mock function with given fields:

func (*Recovery) Recover

func (_m *Recovery) Recover(cfg recovery.Config) []byte

Recover provides a mock function with given fields: cfg

type Resolver

type Resolver struct {
	mock.Mock
}

Resolver is an autogenerated mock type for the Resolver type

func (*Resolver) Execute

func (_m *Resolver) Execute(custom bool) (string, tpl.TemplateExecutor, bool)

Execute provides a mock function with given fields: custom

type TplData

type TplData struct {
	mock.Mock
}

TplData is an autogenerated mock type for the TplData type

func (*TplData) Execute

func (_m *TplData) Execute() *recovery.Data

Execute provides a mock function with given fields:

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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