model

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

This section is empty.

Types

type App

type App struct {
	AppID     int64  `json:"appid" gorm:"column:appid"`
	AppName   string `json:"app_name" gorm:"column:app_name"`
	AppKey    string `json:"appkey" gorm:"column:appkey"`
	AppSecret string `json:"app_secret" gorm:"column:app_secret"`
	Enabled   int64  `json:"enabled" gorm:"column:enabled" default:"1"`
}

App represents App info.

type AppListParams

type AppListParams struct {
	AppKey  string `form:"sappkey"`
	AppName string `form:"app_name"`
	PS      int64  `form:"ps" default:"10"`
	PN      int64  `form:"pn" default:"1"`
}

AppListParams represents SearchAppParams info.

type AppParams

type AppParams struct {
	AppID   int64  `json:"appid" form:"appid" validate:"required"`
	AppName string `json:"app_name" form:"app_name" validate:"required"`
}

AppParams .

Jump to

Keyboard shortcuts

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