mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticatorFunc

type AuthenticatorFunc struct {
	mock.Mock
}

AuthenticatorFunc is an autogenerated mock type for the AuthenticatorFunc type

func (*AuthenticatorFunc) Execute

func (_m *AuthenticatorFunc) Execute(c *gin.Context) (interface{}, error)

Execute provides a mock function with given fields: c

type PayloadFunc

type PayloadFunc struct {
	mock.Mock
}

PayloadFunc is an autogenerated mock type for the PayloadFunc type

func (*PayloadFunc) Execute

func (_m *PayloadFunc) Execute(_a0 interface{}) interface{}

Execute provides a mock function with given fields: _a0

type ResponseGen

type ResponseGen struct {
	mock.Mock
}

ResponseGen is an autogenerated mock type for the ResponseGen type

func (*ResponseGen) Execute

func (_m *ResponseGen) Execute(c *gin.Context, code int, data map[string]interface{}, err string)

Execute provides a mock function with given fields: c, code, data, err

type Session

type Session struct {
	mock.Mock
}

Session is an autogenerated mock type for the Session type

func (*Session) Clear

func (_m *Session) Clear()

Clear provides a mock function with given fields:

func (*Session) Delete

func (_m *Session) Delete(key interface{})

Delete provides a mock function with given fields: key

func (*Session) Get

func (_m *Session) Get(key interface{}) interface{}

Get provides a mock function with given fields: key

func (*Session) Options

func (_m *Session) Options(_a0 sessions.Options)

Options provides a mock function with given fields: _a0

func (*Session) Save

func (_m *Session) Save() error

Save provides a mock function with given fields:

func (*Session) Set

func (_m *Session) Set(key interface{}, val interface{})

Set provides a mock function with given fields: key, val

type SessionFunc

type SessionFunc struct {
	mock.Mock
}

SessionFunc is an autogenerated mock type for the SessionFunc type

func (*SessionFunc) Execute

func (_m *SessionFunc) Execute(c *gin.Context) middleware.Session

Execute provides a mock function with given fields: c

type UnauthorizedFunc

type UnauthorizedFunc struct {
	mock.Mock
}

UnauthorizedFunc is an autogenerated mock type for the UnauthorizedFunc type

func (*UnauthorizedFunc) Execute

func (_m *UnauthorizedFunc) Execute(c *gin.Context)

Execute provides a mock function with given fields: c

type UserRepo

type UserRepo struct {
	mock.Mock
}

UserRepo is an autogenerated mock type for the UserRepo type

func (*UserRepo) Execute

func (_m *UserRepo) Execute(identityKey interface{}) interface{}

Execute provides a mock function with given fields: identityKey

Jump to

Keyboard shortcuts

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