Documentation ¶
Index ¶
Constants ¶
View Source
const (
OauthGithub uint64 = 0
)
Oauth type
Variables ¶
View Source
var ErrorWrongToken = errors.New("wrong token")
Functions ¶
func SetupRouter ¶
func SetupRouter(anonymousGroup *gin.RouterGroup, authGroup *gin.RouterGroup)
SetupRouter : set up auth router
Types ¶
Click to show internal directories.
Click to hide internal directories.