adminawesome

package
v0.0.0-...-8d6dda1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *core.Context)

func Delete

func Delete(c *core.Context)

func GenerateUniqueID

func GenerateUniqueID() string

func GenerateUniqueMd5

func GenerateUniqueMd5() string

func Info

func Info(c *core.Context)

func List

func List(c *core.Context)

func Update

func Update(c *core.Context)

func Upload

func Upload(c *core.Context)

Types

type ReqCreate

type ReqCreate struct {
	Name string `json:"name"` // 唯一标识
	Desc string `json:"desc"`
}

type ReqDelete

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

type ReqInfo

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

type ReqList

type ReqList struct {
	Name string `form:"name"`
	trans.ReqPage
}

type ReqUpdate

type ReqUpdate struct {
	Id   int    `json:"id"`
	Name string `json:"name"` // 唯一标识
	Desc string `json:"desc"`
}

Jump to

Keyboard shortcuts

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