Documentation
¶
Index ¶
- type IndexApi
- type Router
- type Sapi
- func (a *Sapi) Dashboard(c *fiber.Ctx) error
- func (a *Sapi) DelBatch(c *fiber.Ctx) error
- func (a *Sapi) ExcutePage(c *fiber.Ctx) error
- func (a *Sapi) Init(c *fiber.Ctx) error
- func (a *Sapi) Login(c *fiber.Ctx) error
- func (a *Sapi) Logout(c *fiber.Ctx) error
- func (a *Sapi) StartBatch(c *fiber.Ctx) error
- func (a *Sapi) StopBatch(c *fiber.Ctx) error
- func (a *Sapi) TaskAdd(c *fiber.Ctx) error
- func (a *Sapi) TaskDel(c *fiber.Ctx) error
- func (a *Sapi) TaskDo(c *fiber.Ctx) error
- func (a *Sapi) TaskPage(c *fiber.Ctx) error
- func (a *Sapi) TaskStart(c *fiber.Ctx) error
- func (a *Sapi) TaskStop(c *fiber.Ctx) error
- func (a *Sapi) TaskUpdate(c *fiber.Ctx) error
- func (a *Sapi) TaskUpdateUser(c *fiber.Ctx) error
- func (a *Sapi) UserAdd(c *fiber.Ctx) error
- func (a *Sapi) UserDel(c *fiber.Ctx) error
- func (a *Sapi) UserDisable(c *fiber.Ctx) error
- func (a *Sapi) UserEnable(c *fiber.Ctx) error
- func (a *Sapi) UserList(c *fiber.Ctx) error
- func (a *Sapi) UserResetPassword(c *fiber.Ctx) error
- func (a *Sapi) UserUpdate(c *fiber.Ctx) error
- type WebConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexApi ¶
type IndexApi struct { Jwt *jwt.Jwt `inject:""` UserService user.UserService `inject:""` }
type Router ¶
type Router struct { Jwt *jwt.Jwt `inject:""` App *fiber.App `inject:""` Sapi *Sapi `inject:""` IndexApi *IndexApi `inject:""` UserService user.UserService `inject:""` }
func (*Router) RequireAdminRole ¶
func (*Router) RequireLogin ¶
type Sapi ¶
type Sapi struct { Jwt *jwt.Jwt `inject:""` UserService user.UserService `inject:""` TaskService task.TaskService `inject:""` }
func (*Sapi) ExcutePage ¶
func (*Sapi) StartBatch ¶
func (*Sapi) TaskUpdate ¶
func (*Sapi) TaskUpdateUser ¶
func (*Sapi) UserDisable ¶
func (*Sapi) UserEnable ¶
func (*Sapi) UserResetPassword ¶
func (*Sapi) UserUpdate ¶
Click to show internal directories.
Click to hide internal directories.