controllers

package
v0.0.0-...-ea20cfa Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleController

type ArticleController struct{}

ArticleController ...

func (ArticleController) All

func (ctrl ArticleController) All(c *gin.Context)

All ...

func (ArticleController) Create

func (ctrl ArticleController) Create(c *gin.Context)

Create ...

func (ArticleController) Delete

func (ctrl ArticleController) Delete(c *gin.Context)

Delete ...

func (ArticleController) One

func (ctrl ArticleController) One(c *gin.Context)

One ...

func (ArticleController) Update

func (ctrl ArticleController) Update(c *gin.Context)

Update ...

type AuthController

type AuthController struct{}

AuthController ...

func (AuthController) Refresh

func (ctl AuthController) Refresh(c *gin.Context)

Refresh ...

func (AuthController) TokenValid

func (ctl AuthController) TokenValid(c *gin.Context)

TokenValid ...

type UserController

type UserController struct{}

UserController ...

func (UserController) Login

func (ctrl UserController) Login(c *gin.Context)

Login ...

func (UserController) Logout

func (ctrl UserController) Logout(c *gin.Context)

Logout ...

func (UserController) Register

func (ctrl UserController) Register(c *gin.Context)

Register ...

Jump to

Keyboard shortcuts

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