Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewAuthHandler), fx.Invoke(RegisterRoutes), )
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(engine *gin.Engine, authHandler *AuthHandler)
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(service auth.Service) *AuthHandler
func (*AuthHandler) Login ¶
func (handler *AuthHandler) Login(context *gin.Context)
func (*AuthHandler) Register ¶
func (handler *AuthHandler) Register(context *gin.Context)
Click to show internal directories.
Click to hide internal directories.