mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 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 Authorizer

type Authorizer struct {
	mock.Mock
}

Authorizer is an autogenerated mock type for the Authorizer type

func NewAuthorizer

func NewAuthorizer(t mockConstructorTestingTNewAuthorizer) *Authorizer

NewAuthorizer creates a new instance of Authorizer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Authorizer) AuthorizeGrpc

func (_m *Authorizer) AuthorizeGrpc(ctx context.Context) (context.Context, error)

AuthorizeGrpc provides a mock function with given fields: ctx

func (*Authorizer) AuthorizeHTTP

func (_m *Authorizer) AuthorizeHTTP(ctx *gin.Context) error

AuthorizeHTTP provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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