Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Token *oauth2.Token
Functions ¶
This section is empty.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.