Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct { }
func (AuthController) Login ¶
func (controller AuthController) Login(ctx echo.Context) error
func (AuthController) Profile ¶
func (controller AuthController) Profile(c echo.Context) error
func (AuthController) Register ¶
func (controller AuthController) Register(ctx echo.Context) error
func (AuthController) Routes ¶
func (controller AuthController) Routes() []common.Route
type AuthService ¶
type AuthService interface {
GetAccessToken(user *UserModels.User) (string, error)
}
func GetAuthService ¶
func GetAuthService() AuthService
type LoginRequest ¶
type RegisterUserRequest ¶
Click to show internal directories.
Click to hide internal directories.