Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Auth ¶
func (h *Handler) Auth() gin.HandlerFunc
func (*Handler) Callback ¶
func (h *Handler) Callback() gin.HandlerFunc
func (*Handler) Destroy ¶
func (h *Handler) Destroy() gin.HandlerFunc
func (*Handler) SignIn ¶
func (h *Handler) SignIn() gin.HandlerFunc
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewAuthRouter ¶
func NewAuthRouter(rg *gin.RouterGroup, config *config.AuthConfig, logger *zap.Logger, repo repos.IRepository) *Router
Click to show internal directories.
Click to hide internal directories.