Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthHandler ¶
func NewAuthHandler(authService port.AuthService) port.AuthHandler
func NewUserHandler ¶
func NewUserHandler(userService port.UserService) port.UserHandler
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func (AuthHandler) Login ¶
func (h AuthHandler) Login(c *router.Context)
func (AuthHandler) Logout ¶
func (h AuthHandler) Logout(c *router.Context)
func (AuthHandler) Register ¶
func (h AuthHandler) Register(c *router.Context)
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func (*UserHandler) GetCurrentUser ¶
func (h *UserHandler) GetCurrentUser(c *router.Context)
func (*UserHandler) GetCurrentUserCredentials ¶
func (h *UserHandler) GetCurrentUserCredentials(c *router.Context)
func (*UserHandler) PatchCurrentUser ¶
func (h *UserHandler) PatchCurrentUser(c *router.Context)
Click to show internal directories.
Click to hide internal directories.