operation

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FullTypes

func FullTypes() (tys []string)

FullTypes get full operations.

Types

type Banner struct {
	Ty      string `json:"-"`
	Rank    string `json:"rank"`
	Pic     string `json:"pic"`
	Link    string `json:"link"`
	Content string `json:"content"`
}

Banner for app index.

type BannerCreator

type BannerCreator struct {
	Ty      string `json:"-"`
	Rank    int    `json:"rank"`
	Pic     string `json:"pic"`
	Link    string `json:"link"`
	Content string `json:"content"`
	Stime   int64  `json:"start_time"`
	Etime   int64  `json:"end_time"`
}

BannerCreator for creator index.

type BannerList

type BannerList struct {
	BannerCreator []*BannerCreator `json:"operations"`
	Pn            int              `json:"pn"`
	Ps            int              `json:"ps"`
	Total         int              `json:"total"`
}

BannerList for operation list.

type Operation

type Operation struct {
	ID       int64  `json:"id"`
	Ty       string `json:"-"`
	Rank     string `json:"rank"`
	Pic      string `json:"pic"`
	Link     string `json:"link"`
	Content  string `json:"content"`
	Remark   string `json:"remark"`
	Note     string `json:"note"`
	Stime    string `json:"start_time"`
	Etime    string `json:"end_time"`
	AppPic   string `json:"-"`
	Platform int8   `json:"-"`
}

Operation tool.

Jump to

Keyboard shortcuts

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