Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryReq ¶
type CategoryReq struct {
TypeId int64 `json:"type_id,omitempty" form:"type_id"` //分类id
}
type KeysInfo ¶
type KeysInfo struct {
Type string `form:"type" json:"type" mapstructure:"type"` // msg 提示性数据返回
Data string `form:"data" json:"data" mapstructure:"data"`
Keys string `form:"keys" json:"keys" mapstructure:"keys"`
Value string `form:"value" json:"value" mapstructure:"value"`
Ttl time.Duration `form:"ttl" json:"ttl" mapstructure:"ttl"`
List []ListRes `form:"list" json:"list" mapstructure:"list"`
Hash map[string]string `form:"hash" json:"hash" mapstructure:"hash"`
Zset []ZSET `form:"zset" json:"zset" mapstructure:"zset"`
Page int `form:"page" json:"page" mapstructure:"page"`
Total int `form:"total" json:"total" mapstructure:"total"`
Length int64 `form:"length" json:"length" mapstructure:"length"`
}
type LivesInfo ¶
type LivesInfo struct {
Province string `json:"province"`
City string `json:"city"`
Adcode string `json:"adcode"`
Weather string `json:"weather"`
Temperature string `json:"temperature"`
Winddirection string `json:"winddirection"`
Windpower string `json:"windpower"`
Humidity string `json:"humidity"`
Reporttime string `json:"reporttime"`
}
type PersonLogin ¶
type SearchKeyReq ¶
type SearchKeyReq struct {
Client string `form:"client" json:"client" mapstructure:"client"`
Db string `form:"db" json:"db" mapstructure:"db"`
Type string `form:"type" json:"type" mapstructure:"type"`
Key string `form:"key" json:"key" mapstructure:"key"`
Value string `form:"value" json:"value" mapstructure:"value"`
Ttl int `form:"ttl" json:"ttl" mapstructure:"ttl"`
Token string `form:"token" json:"token" mapstructure:"token"`
Level int `form:"level" json:"level" mapstructure:"level"`
Page int `form:"page" json:"page" mapstructure:"page"`
}
type SearchReq ¶
type SearchReq struct {
Client string `form:"client" json:"client" mapstructure:"client"`
Db string `form:"db" json:"db" mapstructure:"db"`
Key string `form:"key" json:"key" mapstructure:"key"`
Token string `form:"token" json:"token" mapstructure:"token"`
Level int `form:"level" json:"level" mapstructure:"level"`
}
type TestHeader ¶
type TokenCheck ¶
type TokenCheck struct {
Token string `form:"token" json:"token"`
}
type WeatherInfoRep ¶
Click to show internal directories.
Click to hide internal directories.