Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentUser ¶
func GetCurrentUser(ctx context.Context, c *app.RequestContext)
GetCurrentUser . @router /api/v1/users/me [GET]
func Login ¶
func Login(ctx context.Context, c *app.RequestContext)
Login . @router /api/v1/auth/login [POST]
func Logout ¶
func Logout(ctx context.Context, c *app.RequestContext)
Logout . @router /api/v1/auth/logout [POST]
func RefreshToken ¶
func RefreshToken(ctx context.Context, c *app.RequestContext)
RefreshToken . @router /api/v1/auth/refresh [POST]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.