Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Github *oauth2.Config Gitlab *oauth2.Config JWTKey []byte State string UserID uint JWTRedirectURL string }
Config -
func (Config) GetIDFromToken ¶
GetIDFromToken -
type InitConfig ¶
type InitConfig struct { GithubCallbackURL string `json:"githubCallbackURL"` GitlabCallbackURL string `json:"gitlabCallbackURL"` JwtRedirectURL string `json:"jwtRedirectURL"` }
InitConfig -
Click to show internal directories.
Click to hide internal directories.