admincomcate

package
v0.0.0-...-e6e6a7d Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

func Info

func Info(c *gin.Context)

func List

func List(c *gin.Context)

func Remove

func Remove(c *gin.Context)

func Update

func Update(c *gin.Context)

Types

type ReqCreate

type ReqCreate struct {
	Name string `json:"name"`
	Icon string `json:"icon"`
	Pid  int    `json:"pid"`
}

type ReqInfo

type ReqInfo struct {
	Id int `form:"id"`
}

type ReqList

type ReqList struct {
	Name    string `form:"name"`
	Author  string `form:"author"`
	Address string `form:"address"`
	trans.ReqPage
}

type ReqRemove

type ReqRemove struct {
	Id int `json:"id"`
}

type ReqUpdate

type ReqUpdate struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
	Icon string `json:"icon"`
}

Jump to

Keyboard shortcuts

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