Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArgsCreate ¶
type ArgsCreate struct { //路由地址 URL string `db:"url" json:"url"` //数据 Data string `db:"data" json:"data"` }
ArgsCreate 申请新的数据参数
type ArgsGetList ¶
type ArgsGetList struct { //分页 Pages CoreSQLPages.ArgsDataList `json:"pages"` }
ArgsGetList 获取列表参数
type ArgsGetURL ¶
type ArgsGetURL struct { //路由地址 URL string `db:"url" json:"url"` }
ArgsGetURL 检查指定路由设置参数
type ArgsUpdateExpire ¶
type ArgsUpdateExpire struct { //ID ID int64 `db:"id" json:"id" check:"id"` //过期时间 ExpireAt string `db:"expire_at" json:"expireAt" check:"isoTime"` }
ArgsUpdateExpire 延长配置参数
type FieldsCheck ¶
type FieldsCheck struct { //ID ID int64 `db:"id" json:"id"` //创建时间 CreateAt time.Time `db:"create_at" json:"createAt"` //过期时间 ExpireAt time.Time `db:"expire_at" json:"expireAt"` //路由地址 URL string `db:"url" json:"url"` //数据 Data string `db:"data" json:"data"` }
func GetList ¶
func GetList(args *ArgsGetList) (dataList []FieldsCheck, dataCount int64, err error)
GetList 获取列表
Click to show internal directories.
Click to hide internal directories.