mock

package
Version: v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeServiceLogin

type FakeServiceLogin struct {
	GetLoginFuncFn       func(ctx context.Context) http.HandlerFunc
	GetLogoutFuncFn      func(ctx context.Context) http.HandlerFunc
	GetRefreshFuncFn     func() http.HandlerFunc
	GetVerifyTokenFuncFn func(ctx context.Context) http.HandlerFunc
}

FakeServiceLogin ..

func (*FakeServiceLogin) GetLoginFunc

func (l *FakeServiceLogin) GetLoginFunc(ctx context.Context) http.HandlerFunc

GetLoginFunc ...

func (*FakeServiceLogin) GetLogoutFunc

func (l *FakeServiceLogin) GetLogoutFunc(ctx context.Context) http.HandlerFunc

GetLogoutFunc ...

func (*FakeServiceLogin) GetRefreshFunc

func (l *FakeServiceLogin) GetRefreshFunc() http.HandlerFunc

GetRefreshFunc ...

func (*FakeServiceLogin) GetVerifyTokenFunc

func (l *FakeServiceLogin) GetVerifyTokenFunc(ctx context.Context) http.HandlerFunc

GetVerifyTokenFunc ...

Source Files

Jump to

Keyboard shortcuts

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