authtest

package
v2.6.13 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 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 App

type App struct {
	// contains filtered or unexported fields
}

App mock app

func New

func New() *App

New creates raw mock

func (*App) IsAuthorized

func (a *App) IsAuthorized(_ context.Context, _ model.User, _ string) bool

IsAuthorized mocks

func (*App) SetIsAuthorized

func (a *App) SetIsAuthorized(isAuthorized bool) *App

SetIsAuthorized mocks

Jump to

Keyboard shortcuts

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