controller

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UploadDomain = "https://img.domain.com/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonController

type CommonController struct {
	Ctx framework.Context
}

func (*CommonController) Upload

type UserController

type UserController struct {
	Ctx framework.Context
}

func (*UserController) Login

func (ctl *UserController) Login(req *request.LoginRequest) (any, error)

Login 登录

func (*UserController) Logout

func (ctl *UserController) Logout(req *request.LogoutRequest) (any, error)

func (*UserController) Profile added in v0.5.2

func (ctl *UserController) Profile(req *request.ProfileRequest) error

func (*UserController) Register added in v0.4.1

func (ctl *UserController) Register(req *request.RegisterRequest) (any, error)

Register 注册

Jump to

Keyboard shortcuts

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