v1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForgetReq

type ForgetReq struct {
	g.Meta `path:"/forget" tags:"auth" method:"post" summary:"找回密码接口"`
	model.ForgetReq
}

找回密码接口请求参数

type ForgetRes

type ForgetRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

找回密码接口响应参数

type LoginReq

type LoginReq struct {
	g.Meta `path:"/login" tags:"auth" method:"post" summary:"登录接口"`
	model.LoginReq
}

登录接口请求参数

type LoginRes

type LoginRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.LoginRes
}

登录接口响应参数

type LogoutReq

type LogoutReq struct {
	g.Meta `path:"/logout" tags:"auth" method:"post" summary:"登出接口"`
}

登出接口请求参数

type LogoutRes

type LogoutRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

登出接口响应参数

type RefreshReq

type RefreshReq struct {
	g.Meta `path:"/refresh" tags:"auth" method:"post" summary:"刷新Token接口"`
}

Token 刷新接口请求参数

type RefreshRes

type RefreshRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.RefreshRes
}

Token 刷新接口响应参数

type RegisterReq

type RegisterReq struct {
	g.Meta `path:"/register" tags:"auth" method:"post" summary:"注册接口"`
	model.RegisterReq
}

注册接口请求参数

type RegisterRes

type RegisterRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

注册接口响应参数

Jump to

Keyboard shortcuts

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