api

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package api Date: 2024/3/27 16:38 Author: Amu Description:

Package api Date: 2024/3/27 16:39 Author: Amu Description:

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AuthAPI

type AuthAPI struct {
	AuthService *service.AuthService
}

func NewLoginAPI

func NewLoginAPI(userService *service.AuthService) *AuthAPI

func (*AuthAPI) Login

func (a *AuthAPI) Login(ctx *fiber.Ctx) error

func (*AuthAPI) Logout

func (a *AuthAPI) Logout(ctx *fiber.Ctx) error

func (*AuthAPI) PassUpdate

func (a *AuthAPI) PassUpdate(ctx *fiber.Ctx) error

func (*AuthAPI) TokenUpdate

func (a *AuthAPI) TokenUpdate(ctx *fiber.Ctx) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL