Documentation ¶
Index ¶
Constants ¶
View Source
const ClientIdEnv = "GITHUBOAUTH_CLIENTID"
View Source
const ClientSecretEnv = "GITHUBOAUTH_CLIENTSECRET"
Variables ¶
This section is empty.
Functions ¶
func GithubOAuth ¶
func GithubOAuth() gin.HandlerFunc
func ReadConfig ¶
func ReadConfig() (err error)
Types ¶
type TokenSource ¶
type TokenSource struct {
AccessToken string
}
Click to show internal directories.
Click to hide internal directories.