Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Oauth2Config *oauth2.Config
Functions ¶
func GoogleOAuth2 ¶
func GoogleOAuth2(conf *oauth2.Config) gin.HandlerFunc
func GoogleOAuth2Callback ¶
func GoogleOAuth2Callback(conf *oauth2.Config) gin.HandlerFunc
func SetOauth2Config ¶
func SetOauth2Config()
Env variables needs to be loaded first. But i want the config specifications in this file
Types ¶
Click to show internal directories.
Click to hide internal directories.