routes

package
v0.0.0-...-011315e Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Uploader 上传
	Uploader = upload.NewDefaultUploader()
)

Functions

func Start

func Start(r *gin.RouterGroup)

Start 注册路由

Types

type FavoriteProject

type FavoriteProject struct{}

FavoriteProject 收藏的项目

func (*FavoriteProject) Add

func (f *FavoriteProject) Add(c *gin.Context)

Add 收藏

type Project

type Project struct{}

Project 项目

func (*Project) Add

func (p *Project) Add(c *gin.Context)

Add 添加项目

func (*Project) AddPage

func (p *Project) AddPage(c *gin.Context)

AddPage 添加

func (*Project) Delete

func (p *Project) Delete(c *gin.Context)

Delete 删除

func (*Project) Detail

func (p *Project) Detail(c *gin.Context)

Detail 项目详情

func (*Project) Index

func (p *Project) Index(c *gin.Context)

Index 首页

func (*Project) Update

func (p *Project) Update(c *gin.Context)

Update 更新项目

func (*Project) UpdatePage

func (p *Project) UpdatePage(c *gin.Context)

UpdatePage 更新

type ProjectLog

type ProjectLog struct{}

ProjectLog 项目日志

func (*ProjectLog) Add

func (p *ProjectLog) Add(c *gin.Context)

Add 添加项目日志

func (*ProjectLog) AddPage

func (p *ProjectLog) AddPage(c *gin.Context)

AddPage 添加日志

func (*ProjectLog) Detail

func (p *ProjectLog) Detail(c *gin.Context)

Detail 日志详情

func (*ProjectLog) Update

func (p *ProjectLog) Update(c *gin.Context)

Update 更新

func (*ProjectLog) UpdatePage

func (p *ProjectLog) UpdatePage(c *gin.Context)

UpdatePage 更新日志页面

type User

type User struct{}

User User

func (*User) Add

func (u *User) Add(c *gin.Context)

Add 注册用户

func (*User) Forgot

func (u *User) Forgot(c *gin.Context)

Forgot 忘记密码

func (*User) ForgotPage

func (u *User) ForgotPage(c *gin.Context)

ForgotPage 忘记密码

func (*User) Index

func (u *User) Index(c *gin.Context)

Index 用户列表

func (*User) LogOut

func (u *User) LogOut(c *gin.Context)

LogOut 用户登出

func (*User) Login

func (u *User) Login(c *gin.Context)

Login 登录

func (*User) LoginPage

func (u *User) LoginPage(c *gin.Context)

LoginPage 登录页面

func (*User) RegPage

func (u *User) RegPage(c *gin.Context)

RegPage RegPage

func (*User) Reset

func (u *User) Reset(c *gin.Context)

Reset 重设密码

func (*User) ResetPage

func (u *User) ResetPage(c *gin.Context)

ResetPage ResetPage

func (*User) Update

func (u *User) Update(c *gin.Context)

Update 更新

func (*User) UpdateProfile

func (u *User) UpdateProfile(c *gin.Context)

UpdateProfile 更新用户信息

Jump to

Keyboard shortcuts

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