Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Db = map[string]User{}
View Source
var OauthConnections = map[string]string{}
OauthConnections key: user id from oauth provider, value: user id in this system eg. email
View Source
var Sessions = map[string]string{}
Functions ¶
func CreateToken ¶
func NewGithubOauthConfig ¶
func NewGoogleOauthConfig ¶
func ParseToken ¶
Types ¶
type GithubUserResponse ¶
type GoogleUserResponse ¶
Click to show internal directories.
Click to hide internal directories.