Versions in this module Expand all Collapse all v1 v1.0.0 Jan 5, 2022 Changes in this version + type Handles struct + func NewHandles(conf *conf.AppConfig, auth service.AuthSrv) *Handles + func (h *Handles) CheckAccessToken(g *gin.Context) + func (h *Handles) CreateCodeOpenId(g *gin.Context) + func (h *Handles) CreateToken(g *gin.Context) + func (h *Handles) GetUid(g *gin.Context) int + func (h *Handles) RefreshAccessToken(g *gin.Context) + func (h *Handles) ResponseData(g *gin.Context, data interface{}) + func (h *Handles) ResponseErr(g *gin.Context, err error) + func (h *Handles) ResponseSuccess(g *gin.Context) + func (h *Handles) UserInfo(g *gin.Context)