mocks

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 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 (*Authorizer) IsAuthorized

func (_m *Authorizer) IsAuthorized(r *http.Request) bool

IsAuthorized provides a mock function with given fields: r

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func (*Store) BackgroundUpdate

func (_m *Store) BackgroundUpdate(interval int)

BackgroundUpdate provides a mock function with given fields: interval

func (*Store) GetToken

func (_m *Store) GetToken() (*oauth2.Token, error)

GetToken provides a mock function with given fields:

Jump to

Keyboard shortcuts

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