controllers

package
v0.0.0-...-9d13ea8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PoromodoModel = new(models.PoromodoModel)
View Source
var StrategyModel = new(models.StrategyModel)

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 PoromodoController

type PoromodoController struct{}

func (*PoromodoController) GetByStrategyId

func (sc *PoromodoController) GetByStrategyId(c *gin.Context)

func (*PoromodoController) GetList

func (sc *PoromodoController) GetList(c *gin.Context)

func (*PoromodoController) Insert

func (pc *PoromodoController) Insert(c *gin.Context)

type StrategyController

type StrategyController struct{}

func (*StrategyController) ChangeStatus

func (sc *StrategyController) ChangeStatus(c *gin.Context)

func (*StrategyController) GetDetailChangedHistory

func (sc *StrategyController) GetDetailChangedHistory(c *gin.Context)

func (*StrategyController) GetList

func (sc *StrategyController) GetList(c *gin.Context)

func (*StrategyController) GetStrategiesByStatus

func (sc *StrategyController) GetStrategiesByStatus(c *gin.Context)

func (*StrategyController) Insert

func (sc *StrategyController) Insert(c *gin.Context)

func (*StrategyController) TriggerCompleted

func (sc *StrategyController) TriggerCompleted(c *gin.Context)

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