intercept

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Token *oauth2.Token

Functions

This section is empty.

Types

type Cost

type Cost struct{}

func (*Cost) PostHandle

func (i *Cost) PostHandle(_ http.ResponseWriter, r *http.Request) bool

func (*Cost) PreHandle

func (i *Cost) PreHandle(_ http.ResponseWriter, r *http.Request) bool

type Intercept

type Intercept interface {
	PreHandle(http.ResponseWriter, *http.Request) bool
	PostHandle(http.ResponseWriter, *http.Request) bool
}

type OauthClient

type OauthClient struct{}

func (*OauthClient) PostHandle

func (i *OauthClient) PostHandle(_ http.ResponseWriter, r *http.Request) bool

func (*OauthClient) PreHandle

func (i *OauthClient) PreHandle(w http.ResponseWriter, r *http.Request) bool

type Trace

type Trace struct{}

func (*Trace) PostHandle

func (i *Trace) PostHandle(_ http.ResponseWriter, r *http.Request) bool

func (*Trace) PreHandle

func (i *Trace) PreHandle(_ http.ResponseWriter, r *http.Request) bool

Jump to

Keyboard shortcuts

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