Documentation
¶
Index ¶
- type AddCfgReq
- type AddShelfReq
- type BookChapterResp
- type BookInfoResp
- type BookListReq
- type BookListResp
- type CategoryReq
- type ChapterCommentReq
- type ChapterReq
- type FeedBackReq
- type GetFeedBackReq
- type GetFeedBackResp
- type KeysInfo
- type ListRes
- type LivesInfo
- type MemberBookListResp
- type MemberInfo
- type MemberReq
- type PageSep
- type Person
- type PersonLogin
- type SearchKeyReq
- type SearchReq
- type TestHeader
- type TokenCheck
- type WeatherInfoRep
- type ZSET
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddShelfReq ¶ added in v1.0.0
type AddShelfReq struct {
BookId int32 `json:"book_id,omitempty" form:"book_id"`
ChapterId int32 `json:"chapter_id,omitempty" form:"chapter_id"`
MemberInfo
}
type BookChapterResp ¶ added in v1.0.0
type BookInfoResp ¶ added in v1.0.0
type BookListReq ¶ added in v1.0.0
type BookListResp ¶ added in v1.0.0
type CategoryReq ¶
type CategoryReq struct {
CategoryId int32 `json:"category_id,omitempty" form:"category_id"` //分类id
}
type ChapterCommentReq ¶ added in v1.0.0
type ChapterReq ¶ added in v1.0.0
type FeedBackReq ¶ added in v1.0.0
type FeedBackReq struct {
Content string `json:"content,omitempty" form:"content"` //分类id
MemberInfo
}
type GetFeedBackReq ¶ added in v1.0.0
type GetFeedBackReq struct {
PageSep
MemberInfo
}
type GetFeedBackResp ¶ added in v1.0.0
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 MemberBookListResp ¶ added in v1.0.0
type MemberInfo ¶ added in v1.0.0
type MemberReq ¶ added in v1.0.0
type MemberReq struct {
CategoryId int32 `json:"category_id,omitempty" form:"category_id"` //分类id
PageSep
MemberInfo
}
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.