Documentation ¶
Index ¶
- Constants
- Variables
- func CheckBFSImage(src string) bool
- func CleanURL(url string) (path string)
- func CleanURLs(urls []string) (paths []string)
- func Client(plat int8) string
- func CompleteURL(path string) (url string)
- func CompleteURLs(paths []string) (urls []string)
- func ConvertPlat(p int8) (plat int8)
- func Group2State(group int) (states []int64)
- func HistoryClient(plat int8) (client int8)
- func InReprints(rp int8) (ok bool)
- func InTemplateID(tid int8) (ok bool)
- func NoDistributeAttr(attr int32) bool
- func NoRegionAttr(attr int32) bool
- func Plat(mobiApp, device string) int8
- func ValidTemplate(tid int32, imgs []string) bool
- type AccountCard
- type ActInfo
- type Activity
- type AnniversaryAuthor
- type AnniversaryInfo
- type AnniversaryReader
- type Apply
- type ArgAid
- type ArgAidCid
- type ArgAidContent
- type ArgAidMid
- type ArgAids
- type ArgArticle
- type ArgAuthor
- type ArgCreationArts
- type ArgFav
- type ArgForce
- type ArgIP
- type ArgMid
- type ArgMidAids
- type ArgNewArt
- type ArgPtime
- type ArgRecommends
- type ArgSort
- type ArgStats
- type ArgUpArts
- type ArgUpDraft
- type ArgUpsArts
- type ArtPage
- type ArtParam
- type Article
- func (*Article) Descriptor() ([]byte, []int)
- func (a *Article) IsNormal() bool
- func (m *Article) Marshal() (dAtA []byte, err error)
- func (m *Article) MarshalTo(dAtA []byte) (int, error)
- func (*Article) ProtoMessage()
- func (m *Article) Reset()
- func (m *Article) Size() (n int)
- func (m *Article) String() string
- func (m *Article) Unmarshal(dAtA []byte) error
- func (m *Article) XXX_DiscardUnknown()
- func (m *Article) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Article) XXX_Merge(src proto.Message)
- func (m *Article) XXX_Size() int
- func (m *Article) XXX_Unmarshal(b []byte) error
- type ArticleViewList
- type Articles
- type AudioCard
- type Author
- func (*Author) Descriptor() ([]byte, []int)
- func (m *Author) Marshal() (dAtA []byte, err error)
- func (m *Author) MarshalTo(dAtA []byte) (int, error)
- func (*Author) ProtoMessage()
- func (m *Author) Reset()
- func (m *Author) Size() (n int)
- func (m *Author) String() string
- func (m *Author) Unmarshal(dAtA []byte) error
- func (m *Author) XXX_DiscardUnknown()
- func (m *Author) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Author) XXX_Merge(src proto.Message)
- func (m *Author) XXX_Size() int
- func (m *Author) XXX_Unmarshal(b []byte) error
- type AuthorLimit
- type AuthorPermission
- type BangumiCard
- type Banner
- type BannerRule
- type Cards
- type Categories
- type Category
- func (*Category) Descriptor() ([]byte, []int)
- func (m *Category) Marshal() (dAtA []byte, err error)
- func (m *Category) MarshalTo(dAtA []byte) (int, error)
- func (*Category) ProtoMessage()
- func (m *Category) Reset()
- func (m *Category) Size() (n int)
- func (m *Category) String() string
- func (m *Category) Unmarshal(dAtA []byte) error
- func (m *Category) XXX_DiscardUnknown()
- func (m *Category) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Category) XXX_Merge(src proto.Message)
- func (m *Category) XXX_Size() int
- func (m *Category) XXX_Unmarshal(b []byte) error
- type CheatInfo
- type CreationArts
- type CreationArtsType
- type CreativeArtList
- type CreativeDraftList
- type CreativeList
- type CreativeMeta
- type Draft
- type DraftMsg
- type Drafts
- type ExtMsg
- type Favorite
- type FullListArtMeta
- type Hotspot
- type HotspotResp
- type HotspotStats
- type Identify
- type List
- func (*List) Descriptor() ([]byte, []int)
- func (l *List) FillDefaultImage(image string)
- func (m *List) Marshal() (dAtA []byte, err error)
- func (m *List) MarshalTo(dAtA []byte) (int, error)
- func (*List) ProtoMessage()
- func (m *List) Reset()
- func (m *List) Size() (n int)
- func (m *List) String() string
- func (m *List) Unmarshal(dAtA []byte) error
- func (m *List) XXX_DiscardUnknown()
- func (m *List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *List) XXX_Merge(src proto.Message)
- func (m *List) XXX_Size() int
- func (m *List) XXX_Unmarshal(b []byte) error
- type ListArtMeta
- type ListArticles
- type ListInfo
- type MallCard
- type Media
- func (*Media) Descriptor() ([]byte, []int)
- func (m *Media) Marshal() (dAtA []byte, err error)
- func (m *Media) MarshalTo(dAtA []byte) (int, error)
- func (*Media) ProtoMessage()
- func (m *Media) Reset()
- func (m *Media) Size() (n int)
- func (m *Media) String() string
- func (m *Media) Unmarshal(dAtA []byte) error
- func (m *Media) XXX_DiscardUnknown()
- func (m *Media) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Media) XXX_Merge(src proto.Message)
- func (m *Media) XXX_Size() int
- func (m *Media) XXX_Unmarshal(b []byte) error
- type MediaResp
- type MediaResult
- type Meta
- func (a *Meta) AttrSet(v int32, bit uint)
- func (a *Meta) AttrVal(bit uint) bool
- func (*Meta) Descriptor() ([]byte, []int)
- func (a *Meta) IsNormal() bool
- func (m *Meta) Marshal() (dAtA []byte, err error)
- func (m *Meta) MarshalTo(dAtA []byte) (int, error)
- func (*Meta) ProtoMessage()
- func (m *Meta) Reset()
- func (m *Meta) Size() (n int)
- func (m *Meta) String() string
- func (a *Meta) Strong() *Meta
- func (m *Meta) Unmarshal(dAtA []byte) error
- func (m *Meta) XXX_DiscardUnknown()
- func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Meta) XXX_Merge(src proto.Message)
- func (m *Meta) XXX_Size() int
- func (m *Meta) XXX_Unmarshal(b []byte) error
- type MetaWithLike
- type Metas
- type MoreArts
- type Nameplate
- func (*Nameplate) Descriptor() ([]byte, []int)
- func (m *Nameplate) Marshal() (dAtA []byte, err error)
- func (m *Nameplate) MarshalTo(dAtA []byte) (int, error)
- func (*Nameplate) ProtoMessage()
- func (m *Nameplate) Reset()
- func (m *Nameplate) Size() (n int)
- func (m *Nameplate) String() string
- func (m *Nameplate) Unmarshal(dAtA []byte) error
- func (m *Nameplate) XXX_DiscardUnknown()
- func (m *Nameplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Nameplate) XXX_Merge(src proto.Message)
- func (m *Nameplate) XXX_Size() int
- func (m *Nameplate) XXX_Unmarshal(b []byte) error
- type Notice
- type NoticeState
- type OfficialVerify
- func (*OfficialVerify) Descriptor() ([]byte, []int)
- func (m *OfficialVerify) Marshal() (dAtA []byte, err error)
- func (m *OfficialVerify) MarshalTo(dAtA []byte) (int, error)
- func (*OfficialVerify) ProtoMessage()
- func (m *OfficialVerify) Reset()
- func (m *OfficialVerify) Size() (n int)
- func (m *OfficialVerify) String() string
- func (m *OfficialVerify) Unmarshal(dAtA []byte) error
- func (m *OfficialVerify) XXX_DiscardUnknown()
- func (m *OfficialVerify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OfficialVerify) XXX_Merge(src proto.Message)
- func (m *OfficialVerify) XXX_Size() int
- func (m *OfficialVerify) XXX_Unmarshal(b []byte) error
- type Page
- type Pendant
- func (*Pendant) Descriptor() ([]byte, []int)
- func (m *Pendant) Marshal() (dAtA []byte, err error)
- func (m *Pendant) MarshalTo(dAtA []byte) (int, error)
- func (*Pendant) ProtoMessage()
- func (m *Pendant) Reset()
- func (m *Pendant) Size() (n int)
- func (m *Pendant) String() string
- func (m *Pendant) Unmarshal(dAtA []byte) error
- func (m *Pendant) XXX_DiscardUnknown()
- func (m *Pendant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Pendant) XXX_Merge(src proto.Message)
- func (m *Pendant) XXX_Size() int
- func (m *Pendant) XXX_Unmarshal(b []byte) error
- type Rank
- type RankCategory
- type RankMeta
- type RankResp
- type RecAuthor
- type Recommend
- type RecommendArt
- type RecommendArtWithLike
- type RecommendAuthor
- type RecommendAuthors
- type RecommendHome
- type RecommendPlus
- type Recommends
- type SearchArt
- type Setting
- type SkyHorseResp
- type StatMsg
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)
- func (m *Stats) Marshal() (dAtA []byte, err error)
- func (m *Stats) MarshalTo(dAtA []byte) (int, error)
- func (*Stats) ProtoMessage()
- func (m *Stats) Reset()
- func (m *Stats) Size() (n int)
- func (m *Stats) String() string
- func (m *Stats) Unmarshal(dAtA []byte) error
- func (m *Stats) XXX_DiscardUnknown()
- func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Stats) XXX_Merge(src proto.Message)
- func (m *Stats) XXX_Size() int
- func (m *Stats) XXX_Unmarshal(b []byte) error
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) Marshal() (dAtA []byte, err error)
- func (m *Tag) MarshalTo(dAtA []byte) (int, error)
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) Size() (n int)
- func (m *Tag) String() string
- func (m *Tag) Unmarshal(dAtA []byte) error
- func (m *Tag) XXX_DiscardUnknown()
- func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Tag) XXX_Merge(src proto.Message)
- func (m *Tag) XXX_Size() int
- func (m *Tag) XXX_Unmarshal(b []byte) error
- type TagArts
- type ThirtyDayArticle
- type TicketCard
- type UpArtMetas
- type UpArtMetasLists
- type UpLists
- type UpStat
- type ViewInfo
- type VipInfo
- func (*VipInfo) Descriptor() ([]byte, []int)
- func (m *VipInfo) Marshal() (dAtA []byte, err error)
- func (m *VipInfo) MarshalTo(dAtA []byte) (int, error)
- func (*VipInfo) ProtoMessage()
- func (m *VipInfo) Reset()
- func (m *VipInfo) Size() (n int)
- func (m *VipInfo) String() string
- func (m *VipInfo) Unmarshal(dAtA []byte) error
- func (m *VipInfo) XXX_DiscardUnknown()
- func (m *VipInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VipInfo) XXX_Merge(src proto.Message)
- func (m *VipInfo) XXX_Size() int
- func (m *VipInfo) XXX_Unmarshal(b []byte) error
- type WebListArticles
Constants ¶
const ( // State StateAutoLock = -11 StateLock = -10 StateReject = -3 StatePending = -2 StateOpen = 0 StateOpenPending = 2 StateOpenReject = 3 StateAutoPass = 4 StateRePending = 5 // 重复编辑待审 StateReReject = 6 // 重复编辑未通过 StateRePass = 7 // 重复编辑通过 // groups for creation center. GroupAll = 0 // except draft and deleted. 0 2 -2 3 -3 -10 GroupPending = 1 // -2 2 GroupPassed = 2 // 0 GroupUnpassed = 3 // -10 -3 3 NoLikeState = 0 LikeState = 1 DislikeState = 2 // Templates TemplateText = 1 TemplateSingleImg = 2 TemplateMultiImg = 3 TemplateSingleBigImg = 4 // Attributes //AttrBitNoDistribute 禁止分发(空间/分区/动态) AttrBitNoDistribute = uint(1) //AttrBitNoRegion 禁止在分区页显示 AttrBitNoRegion = uint(2) //AttrBitNoRank 禁止排行 AttrBitNoRank = uint(3) // AuthorStatePass 过审 AuthorStateReject = -1 AuthorStatePending = 0 AuthorStatePass = 1 AuthorStateClose = 2 )
Const .
const ( CardPrefixBangumi = "ss" CardPrefixBangumiEp = "ep" CardPrefixTicket = "pw" CardPrefixMall = "sp" CardPrefixAudio = "au" CardPrefixArchive = "av" CardPrefixArticle = "cv" )
Cards
const ( // ReprintForbid 禁止转载. ReprintForbid = int8(0) // ReprintAllow 允许规范转载. ReprintAllow = int8(1) // NoImage 无图. ///NoImage = int8(1) // HeadImage 头图. HeadImage = int8(4) )
const
const ( HotspotTypeView = 0 HotspotTypePtime = 1 )
hotspot type
const ( // PlatAndroid is int8 for android. PlatAndroid = int8(0) // PlatIPhone is int8 for iphone. PlatIPhone = int8(1) // PlatIPad is int8 for ipad. PlatIPad = int8(2) // PlatWPhone is int8 for wphone. PlatWPhone = int8(3) // PlatAndroidG is int8 for Android Global. PlatAndroidG = int8(4) // PlatIPhoneI is int8 for Iphone Global. PlatIPhoneI = int8(5) // PlatIPadI is int8 for IPAD Global. PlatIPadI = int8(6) // PlatAndroidTV is int8 for AndroidTV Global. PlatAndroidTV = int8(7) // PlatAndroidI is int8 for Android Global. PlatAndroidI = int8(8) // PlatH5 is int8 for H5 PlatH5 = int8(9) // PlatPC is int8 for PC PlatPC = int8(10) //PlatOther is int8 for unknow plat PlatOther = int8(11) )
const ( ListSortPtime = 0 ListSortView = 1 )
sort type
const ( // FieldDefault with recommends FieldDefault = iota // FieldNew new list FieldNew // FieldLike like stat FieldLike // FieldReply reply stat FieldReply // FieldFav favorite stat FieldFav // FieldView view stat FieldView )
Variables ¶
var ( ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModel = fmt.Errorf("proto: integer overflow") )
var ( RankMonth = int64(1) RankWeek = int64(2) RankYesterday = int64(3) RankBeforeYesterday = int64(4) )
rank
var HotspotTypes = [...]int8{HotspotTypeView, HotspotTypePtime}
HotspotTypes types
var SortFields = []int{FieldNew, FieldLike, FieldReply, FieldFav, FieldView}
SortFields all field
Functions ¶
func Group2State ¶
Group2State mapping creation group to
func NoDistributeAttr ¶
NoDistributeAttr check if no distribute
func ValidTemplate ¶
ValidTemplate checks template id & images count.
Types ¶
type AccountCard ¶
type AccountCard struct { Mid string `json:"mid"` Name string `json:"name"` Approve bool `json:"approve"` Sex string `json:"sex"` Rank string `json:"rank"` Face string `json:"face"` DisplayRank string `json:"DisplayRank"` Regtime int64 `json:"regtime"` Spacesta int `json:"spacesta"` Birthday string `json:"birthday"` Place string `json:"place"` Description string `json:"description"` Article int `json:"article"` Attentions []int64 `json:"attentions"` Fans int `json:"fans"` Friend int `json:"friend"` Attention int `json:"attention"` Sign string `json:"sign"` LevelInfo struct { Cur int `json:"current_level"` Min int `json:"current_min"` NowExp int `json:"current_exp"` NextExp interface{} `json:"next_exp"` } `json:"level_info"` Pendant struct { Pid int `json:"pid"` Name string `json:"name"` Image string `json:"image"` Expire int `json:"expire"` } `json:"pendant"` Nameplate struct { Nid int `json:"nid"` Name string `json:"name"` Image string `json:"image"` ImageSmall string `json:"image_small"` Level string `json:"level"` Condition string `json:"condition"` } `json:"nameplate"` OfficialVerify struct { Type int `json:"type"` Desc string `json:"desc"` } `json:"official_verify"` Vip struct { Type int `json:"vipType"` DueDate int64 `json:"vipDueDate"` DueRemark string `json:"dueRemark"` AccessStatus int `json:"accessStatus"` VipStatus int `json:"vipStatus"` VipStatusWarn string `json:"vipStatusWarn"` } `json:"vip"` }
AccountCard .
func (*AccountCard) FromCard ¶
func (ac *AccountCard) FromCard(card *account.Card)
FromCard from account card.
func (*AccountCard) FromProfileStat ¶
func (ac *AccountCard) FromProfileStat(card *account.ProfileStat)
FromProfileStat .
type ActInfo ¶
type ActInfo struct { Activities []*Activity `json:"activities"` Banners []*Banner `json:"banners"` }
ActInfo .
type Activity ¶
type Activity struct { ActURL string `json:"act_url"` Author string `json:"author"` Cover string `json:"cover"` Ctime string `json:"ctime"` Dic string `json:"dic"` Etime string `json:"etime"` Flag string `json:"flag"` H5Cover string `json:"h5_cover"` ID int64 `json:"id"` Letime string `json:"letime"` Level string `json:"level"` Lstime string `json:"lstime"` Mtime string `json:"mtime"` Name string `json:"name"` Oid int64 `json:"oid"` State int64 `json:"state"` Stime string `json:"stime"` Tags string `json:"tags"` Type int64 `json:"type"` Uetime string `json:"uetime"` Ustime string `json:"ustime"` }
Activity .
type AnniversaryAuthor ¶
type AnniversaryAuthor struct { Articles int32 `json:"articles"` Words int64 `json:"words"` Views int64 `json:"views"` Coins int64 `json:"coins"` Title string `json:"title"` Publish string `json:"publish"` Rank string `json:"rank"` ReaderMid int64 `json:"reader"` ReaderUname string `json:"reader_name"` ReaderFace string `json:"reader_face"` }
AnniversaryAuthor .
type AnniversaryInfo ¶
type AnniversaryInfo struct { Mid int64 `json:"mid"` Uname string `json:"uname"` Face string `json:"face"` ReaderInfo *AnniversaryReader `json:"reader_info"` AuthorInfo *AnniversaryAuthor `json:"author_info"` }
AnniversaryInfo .
type AnniversaryReader ¶
type AnniversaryReader struct { Words int64 `json:"words"` Views int64 `json:"views"` Coins int64 `json:"coins"` Comments int64 `json:"comments"` Title string `json:"title"` AuthorMid int64 `json:"author"` AuthorUname string `json:"author_name"` Rank string `json:"rank"` FirstComment string `json:"first_comment"` CommentDate string `json:"comment_date"` }
AnniversaryReader .
type Apply ¶
type Apply struct { Verify bool `json:"verify"` Forbid bool `json:"forbid"` Phone int `json:"phone"` }
Apply apply model
type ArgAidContent ¶
ArgAidContent .
type ArgArticle ¶
type ArgArticle struct { Action int Aid int64 Category int64 Title string Summary string BannerURL string TemplateID int32 State int32 Mid int64 Reprint int32 ImageURLs []string OriginImageURLs []string Tags []string Content string Words int64 DynamicIntro string ActivityID int64 ListID int64 RealIP string MediaID int64 Spoiler int32 }
ArgArticle .
type ArgCreationArts ¶
ArgCreationArts .
type ArgRecommends ¶
ArgRecommends .
type ArtParam ¶
type ArtParam struct { AID int64 `json:"aid"` MID int64 `json:"mid"` Category int64 `json:"category"` State int32 `json:"state"` Reprint int32 `json:"reprint"` TemplateID int32 `json:"tid"` Title string `json:"title"` BannerURL string `json:"banner_url"` Content string `json:"content"` Summary string `json:"summary"` Tags string `json:"tags"` ImageURLs []string `json:"image_urls"` OriginImageURLs []string `json:"origin_image_urls"` RealIP string `json:"-"` Action int `json:"action"` Words int64 `json:"words"` DynamicIntro string `json:"dynamic_intro"` ActivityID int64 `json:"activity_id"` ListID int64 `json:"list_id"` MediaID int64 `json:"media_id"` Spoiler int32 `json:"spoiler"` }
ArtParam param for article info input.
type Article ¶
type Article struct { *Meta `protobuf:"bytes,1,opt,name=meta,embedded=meta" json:""` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Keywords string `protobuf:"bytes,3,opt,name=keywords,proto3" json:"keywords"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Article) Descriptor ¶
func (*Article) ProtoMessage ¶
func (*Article) ProtoMessage()
func (*Article) XXX_DiscardUnknown ¶
func (m *Article) XXX_DiscardUnknown()
func (*Article) XXX_Marshal ¶
func (*Article) XXX_Unmarshal ¶
type ArticleViewList ¶
type ArticleViewList struct { Position int `json:"position"` Aids []int64 `json:"articles_id"` From string `json:"from"` Mid int64 `json:"mid"` Build int `json:"build"` Buvid string `json:"buvid"` Plat int8 `json:"plat"` }
ArticleViewList .
type AudioCard ¶
type AudioCard struct { ID int64 `json:"song_id"` Title string `json:"title"` UpMid int64 `json:"up_mid"` UpName string `json:"up_name"` Play int64 `json:"play_num"` Reply int64 `json:"reply_num"` CoverURL string `json:"cover_url"` }
AudioCard .
type Author ¶
type Author struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face"` Pendant Pendant `protobuf:"bytes,4,opt,name=pendant" json:"pendant"` OfficialVerify OfficialVerify `protobuf:"bytes,5,opt,name=official_verify,json=officialVerify" json:"official_verify"` Nameplate Nameplate `protobuf:"bytes,6,opt,name=nameplate" json:"nameplate"` Vip VipInfo `protobuf:"bytes,7,opt,name=vip" json:"vip"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Author) Descriptor ¶
func (*Author) ProtoMessage ¶
func (*Author) ProtoMessage()
func (*Author) XXX_DiscardUnknown ¶
func (m *Author) XXX_DiscardUnknown()
func (*Author) XXX_Marshal ¶
func (*Author) XXX_Unmarshal ¶
type AuthorLimit ¶
type AuthorLimit struct { Limit int `json:"limit"` State int `json:"state"` Rtime xtime.Time `json:"rtime"` }
AuthorLimit .
type AuthorPermission ¶
AuthorPermission recode of article_authors table.
type BangumiCard ¶
type BangumiCard struct { ID int64 `json:"season_id"` Type int64 `json:"season_type"` TypeName string `json:"season_type_name"` Image string `json:"cover"` Title string `json:"title"` Rating struct { Score float64 `json:"score"` Count int64 `json:"count"` } `json:"rating"` Playable bool `json:"playable"` FollowCount int64 `json:"follow_count"` PlayCount int64 `json:"play_count"` }
BangumiCard .
type Banner ¶
type Banner struct { ID int `json:"id"` Plat int8 `json:"-"` Position int `json:"index"` Title string `json:"title"` Image string `json:"image"` URL string `json:"url"` Build int `json:"-"` Condition string `json:"-"` Rule string `json:"-"` ResID int `json:"resource_id"` ServerType int `json:"server_type"` CmMark int `json:"cm_mark"` IsAd bool `json:"is_ad"` RequestID string `json:"request_id"` }
Banner struct
type BannerRule ¶
type BannerRule struct { Area string `json:"area"` Hash string `json:"hash"` Build int `json:"build"` Condition string `json:"conditions"` Channel string `json:"channel"` }
BannerRule .
type Cards ¶
type Cards struct { Type string `json:"type,omitempty"` TicketCard *TicketCard `json:"ticket_card,omitempty"` BangumiCard *BangumiCard `json:"bangumi_card,omitempty"` MallCard *MallCard `json:"mall_card,omitempty"` AudioCard *AudioCard `json:"audio_card,omitempty"` }
Cards .
type Categories ¶
type Categories []*Category
Categories for sorting category.
func (Categories) Len ¶
func (as Categories) Len() int
func (Categories) Less ¶
func (as Categories) Less(i, j int) bool
func (Categories) Swap ¶
func (as Categories) Swap(i, j int)
type Category ¶
type Category struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` ParentID int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"-"` Children []*Category `protobuf:"bytes,5,rep,name=children" json:"children,omitempty"` BannerURL string `protobuf:"bytes,6,opt,name=banner_url,json=bannerUrl,proto3" json:"banner_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Category) Descriptor ¶
func (*Category) ProtoMessage ¶
func (*Category) ProtoMessage()
func (*Category) XXX_DiscardUnknown ¶
func (m *Category) XXX_DiscardUnknown()
func (*Category) XXX_Marshal ¶
func (*Category) XXX_Unmarshal ¶
type CheatInfo ¶
type CheatInfo struct { Valid string `json:"valid"` Client string `json:"client"` Cvid string `json:"cvid"` Mid string `json:"mid"` Lv string `json:"lv"` Ts string `json:"ts"` IP string `json:"ip"` UA string `json:"ua"` Refer string `json:"refer"` Sid string `json:"sid"` Buvid string `json:"buvid"` DeviceID string `json:"device_id"` Build string `json:"build"` Reason string `json:"reason"` }
CheatInfo .
type CreationArts ¶
type CreationArts struct { Articles []*Meta `json:"articles"` Type *CreationArtsType `json:"type"` Page *ArtPage `json:"page"` }
CreationArts creation article list.
type CreationArtsType ¶
type CreationArtsType struct { All int `json:"all"` Audit int `json:"audit"` Passed int `json:"passed"` NotPassed int `json:"not_passed"` }
CreationArtsType creation article-list type's count.
type CreativeArtList ¶
type CreativeArtList struct { Articles []*CreativeMeta `json:"articles"` Type *CreationArtsType `json:"type"` Page *ArtPage `json:"page"` }
CreativeArtList article for list.
type CreativeDraftList ¶
type CreativeDraftList struct { Drafts []*CreativeMeta `json:"drafts"` Page *ArtPage `json:"page"` DraftURL string `json:"draft_url"` }
CreativeDraftList draft list.
type CreativeList ¶
CreativeList creative list
type CreativeMeta ¶
type CreativeMeta struct { ID int64 `json:"id"` Title string `json:"title"` Content string `json:"content"` Summary string `json:"summary"` BannerURL string `json:"banner_url"` Reason string `json:"reason"` TemplateID int32 `json:"template_id"` State int32 `json:"state"` Reprint int32 `json:"reprint"` ImageURLs []string `json:"image_urls"` OriginImageURLs []string `json:"origin_image_urls"` Tags []string `json:"tags"` Category *Category `json:"category"` Author *Author `json:"author"` Stats *Stats `json:"stats"` PTime time.Time `json:"publish_time"` CTime time.Time `json:"ctime"` MTime time.Time `json:"mtime"` ViewURL string `json:"view_url"` EditURL string `json:"edit_url"` IsPreview int `json:"is_preview"` DynamicIntro string `json:"dynamic_intro"` List *List `json:"list"` MediaID int64 `json:"media_id"` Spoiler int32 `json:"spoiler"` EditTimes int `json:"edit_times"` PreViewURL string `json:"pre_view_url"` }
CreativeMeta article detail.
type Draft ¶
type Draft struct { *Article Tags []string `json:"tags"` ListID int64 `json:"list_id"` List *List `json:"list"` }
Draft draft struct.
type FullListArtMeta ¶
type FullListArtMeta struct { *ListArtMeta Stats Stats `json:"stats"` LikeState int8 `json:"like_state"` }
FullListArtMeta .
type Hotspot ¶
type Hotspot struct { ID int64 `json:"id"` Tag string `json:"tag"` Title string `json:"title"` TopArticles []int64 `json:"top_articles"` Icon bool `json:"icon"` Stats HotspotStats `json:"stats"` }
Hotspot model
type HotspotResp ¶
type HotspotResp struct { Hotspot *Hotspot `json:"hotspot"` Articles []*MetaWithLike `json:"articles"` }
HotspotResp model
type HotspotStats ¶
type HotspotStats struct { Read int64 `json:"read"` Reply int64 `json:"reply"` Count int64 `json:"count"` }
HotspotStats .
type List ¶
type List struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` ImageURL string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url"` UpdateTime go_common_library_time.Time `protobuf:"varint,5,opt,name=update_time,json=updateTime,proto3,casttype=go-common/library/time.Time" json:"update_time"` Ctime go_common_library_time.Time `protobuf:"varint,6,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"` PublishTime go_common_library_time.Time `protobuf:"varint,7,opt,name=publish_time,json=publishTime,proto3,casttype=go-common/library/time.Time" json:"publish_time"` Summary string `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary"` Words int64 `protobuf:"varint,9,opt,name=words,proto3" json:"words"` Read int64 `protobuf:"varint,10,opt,name=read,proto3" json:"read"` ArticlesCount int64 `protobuf:"varint,11,opt,name=articles_count,json=articlesCount,proto3" json:"articles_count"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*List) Descriptor ¶
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) XXX_DiscardUnknown ¶
func (m *List) XXX_DiscardUnknown()
func (*List) XXX_Unmarshal ¶
type ListArtMeta ¶
type ListArtMeta struct { ID int64 `json:"id"` Title string `json:"title"` State int `json:"state"` PublishTime xtime.Time `json:"publish_time"` Position int `json:"-"` Words int64 `json:"words"` ImageURLs []string `json:"image_urls"` Category *Category `json:"category"` Categories []*Category `json:"categories"` Summary string `json:"summary"` }
ListArtMeta .
func (*ListArtMeta) IsNormal ¶
func (a *ListArtMeta) IsNormal() bool
IsNormal judge whether article's state is normal.
type ListArticles ¶
type ListArticles struct { List *List `json:"list"` Articles []*ListArtMeta `json:"articles"` Author *Author `json:"author"` Last ListArtMeta `json:"last"` Attention bool `json:"attention"` }
ListArticles list articles
type ListInfo ¶
type ListInfo struct { List *List `json:"list"` Last *ListArtMeta `json:"last"` Next *ListArtMeta `json:"next"` Now int `json:"now"` Total int `json:"total"` }
ListInfo list info
type MallCard ¶
type MallCard struct { ID int64 `json:"itemsId"` Name string `json:"name"` Brief string `json:"brief"` Images []string `json:"img"` Price int64 `json:"price"` Type int `json:"type"` }
MallCard .
type Media ¶
type Media struct { Score int32 `protobuf:"varint,1,opt,name=score,proto3" json:"score"` MediaID int64 `protobuf:"varint,2,opt,name=media_id,json=mediaId,proto3" json:"media_id"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"` Cover string `protobuf:"bytes,4,opt,name=cover,proto3" json:"cover"` Area string `protobuf:"bytes,5,opt,name=area,proto3" json:"area"` TypeID int32 `protobuf:"varint,6,opt,name=type_id,json=typeId,proto3" json:"type_id"` TypeName string `protobuf:"bytes,7,opt,name=type_name,json=typeName,proto3" json:"type_name"` Spoiler int32 `protobuf:"varint,8,opt,name=spoiler,proto3" json:"spoiler"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Media) Descriptor ¶
func (*Media) ProtoMessage ¶
func (*Media) ProtoMessage()
func (*Media) XXX_DiscardUnknown ¶
func (m *Media) XXX_DiscardUnknown()
func (*Media) XXX_Marshal ¶
func (*Media) XXX_Unmarshal ¶
type MediaResp ¶
type MediaResp struct { Code int `json:"code"` Message string `json:"message"` Result *MediaResult `json:"result"` }
MediaResp .
type MediaResult ¶
type MediaResult struct { Score int32 `json:"score"` Media struct { MediaID int64 `json:"media_id"` Title string `json:"title"` Cover string `json:"cover"` Area string `json:"area"` TypeID int32 `json:"type_id"` TypeName string `json:"type_name"` } `json:"media"` }
MediaResult .
type Meta ¶
type Meta struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Category *Category `protobuf:"bytes,2,opt,name=category" json:"category"` Categories []*Category `protobuf:"bytes,3,rep,name=categories" json:"categories"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"` Summary string `protobuf:"bytes,5,opt,name=summary,proto3" json:"summary"` BannerURL string `protobuf:"bytes,6,opt,name=banner_url,json=bannerUrl,proto3" json:"banner_url"` TemplateID int32 `protobuf:"varint,7,opt,name=template_id,json=templateId,proto3" json:"template_id"` State int32 `protobuf:"varint,8,opt,name=state,proto3" json:"state"` Author *Author `protobuf:"bytes,9,opt,name=author" json:"author"` Reprint int32 `protobuf:"varint,10,opt,name=reprint,proto3" json:"reprint"` ImageURLs []string `protobuf:"bytes,11,rep,name=image_urls,json=imageUrls" json:"image_urls"` PublishTime go_common_library_time.Time `protobuf:"varint,12,opt,name=publish_time,json=publishTime,proto3,casttype=go-common/library/time.Time" json:"publish_time"` Ctime go_common_library_time.Time `protobuf:"varint,13,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"` Mtime go_common_library_time.Time `protobuf:"varint,14,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime,omitempty"` Stats *Stats `protobuf:"bytes,15,opt,name=stats" json:"stats,omitempty"` Tags []*Tag `protobuf:"bytes,16,rep,name=tags" json:"tags,omitempty"` Attributes int32 `protobuf:"varint,17,opt,name=attributes,proto3" json:"attributes,omitempty"` Reason string `protobuf:"bytes,18,opt,name=reason,proto3" json:"reason,omitempty"` Words int64 `protobuf:"varint,19,opt,name=words,proto3" json:"words"` Dynamic string `protobuf:"bytes,20,opt,name=dynamic,proto3" json:"dynamic,omitempty"` OriginImageURLs []string `protobuf:"bytes,21,rep,name=origin_image_urls,json=originImageUrls" json:"origin_image_urls"` List *List `protobuf:"bytes,22,opt,name=list" json:"list"` IsLike bool `protobuf:"varint,23,opt,name=isLike,proto3" json:"is_like"` Media *Media `protobuf:"bytes,24,opt,name=media" json:"media"` ApplyTime string `protobuf:"bytes,25,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"` CheckTime string `protobuf:"bytes,26,opt,name=check_time,json=checkTime,proto3" json:"check_time"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Meta) Descriptor ¶
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) XXX_DiscardUnknown ¶
func (m *Meta) XXX_DiscardUnknown()
func (*Meta) XXX_Unmarshal ¶
type MetaWithLike ¶
MetaWithLike meta with like
type MoreArts ¶
type MoreArts struct { Articles []*Meta `json:"articles"` Total int `json:"total"` ReadCount int64 `json:"read_count"` Author *AccountCard `json:"author"` Attention bool `json:"attention"` }
MoreArts .
type Nameplate ¶
type Nameplate struct { Nid int `protobuf:"varint,1,opt,name=nid,proto3,casttype=int" json:"nid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image"` ImageSmall string `protobuf:"bytes,4,opt,name=image_small,json=imageSmall,proto3" json:"image_small"` Level string `protobuf:"bytes,5,opt,name=level,proto3" json:"level"` Condition string `protobuf:"bytes,6,opt,name=condition,proto3" json:"condition"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Nameplate) Descriptor ¶
func (*Nameplate) ProtoMessage ¶
func (*Nameplate) ProtoMessage()
func (*Nameplate) XXX_DiscardUnknown ¶
func (m *Nameplate) XXX_DiscardUnknown()
func (*Nameplate) XXX_Marshal ¶
func (*Nameplate) XXX_Unmarshal ¶
type Notice ¶
type Notice struct { ID int64 `json:"id"` Title string `json:"title"` Content string `json:"content"` URL string `json:"url"` Plat int `json:"-"` Condition int `json:"-"` Build int `json:"-"` }
Notice notice
type NoticeState ¶
NoticeState .
type OfficialVerify ¶
type OfficialVerify struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OfficialVerify) Descriptor ¶
func (*OfficialVerify) Descriptor() ([]byte, []int)
func (*OfficialVerify) Marshal ¶
func (m *OfficialVerify) Marshal() (dAtA []byte, err error)
func (*OfficialVerify) ProtoMessage ¶
func (*OfficialVerify) ProtoMessage()
func (*OfficialVerify) Reset ¶
func (m *OfficialVerify) Reset()
func (*OfficialVerify) Size ¶
func (m *OfficialVerify) Size() (n int)
func (*OfficialVerify) String ¶
func (m *OfficialVerify) String() string
func (*OfficialVerify) Unmarshal ¶
func (m *OfficialVerify) Unmarshal(dAtA []byte) error
func (*OfficialVerify) XXX_DiscardUnknown ¶
func (m *OfficialVerify) XXX_DiscardUnknown()
func (*OfficialVerify) XXX_Marshal ¶
func (m *OfficialVerify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OfficialVerify) XXX_Merge ¶
func (dst *OfficialVerify) XXX_Merge(src proto.Message)
func (*OfficialVerify) XXX_Size ¶
func (m *OfficialVerify) XXX_Size() int
func (*OfficialVerify) XXX_Unmarshal ¶
func (m *OfficialVerify) XXX_Unmarshal(b []byte) error
type Pendant ¶
type Pendant struct { Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image"` Expire int32 `protobuf:"varint,4,opt,name=expire,proto3" json:"expire"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Pendant) Descriptor ¶
func (*Pendant) ProtoMessage ¶
func (*Pendant) ProtoMessage()
func (*Pendant) XXX_DiscardUnknown ¶
func (m *Pendant) XXX_DiscardUnknown()
func (*Pendant) XXX_Marshal ¶
func (*Pendant) XXX_Unmarshal ¶
type RankCategory ¶
RankCategory .
type RecAuthor ¶
type RecAuthor struct { *AccountCard RecReason string `json:"rec_reason"` }
RecAuthor .
type Recommend ¶
type Recommend struct { ArticleID int64 `json:"article_id,omitempty"` Position int `json:"-"` EndTime int64 `json:"-"` Rec bool `json:"rec"` RecFlag bool `json:"rec_flag"` RecText string `json:"rec_text"` RecImageURL string `json:"rec_image_url"` RecImageStartTime int64 `json:"-"` RecImageEndTime int64 `json:"-"` }
Recommend model
type RecommendArtWithLike ¶
type RecommendArtWithLike struct { RecommendArt LikeState int `json:"like_state"` }
RecommendArtWithLike model
type RecommendAuthor ¶
type RecommendAuthor struct { UpID int64 `json:"up_id"` RecReason string `json:"rec_reason"` RecType int `json:"rec_type"` Tid int `json:"tid"` Stid int `json:"second_tid"` }
RecommendAuthor .
type RecommendAuthors ¶
RecommendAuthors .
type RecommendHome ¶
type RecommendHome struct { RecommendPlus Categories []*Category `json:"categories"` IP string `json:"ip"` }
RecommendHome .
type RecommendPlus ¶
type RecommendPlus struct { Banners []*Banner `json:"banners"` Articles []*RecommendArtWithLike `json:"articles"` Ranks []*RankMeta `json:"ranks"` Hotspots []*Hotspot `json:"hotspots"` }
RecommendPlus .
type Recommends ¶
type Recommends [][]*Recommend
Recommends model
func (Recommends) Len ¶
func (as Recommends) Len() int
func (Recommends) Less ¶
func (as Recommends) Less(i, j int) bool
func (Recommends) Swap ¶
func (as Recommends) Swap(i, j int)
type Setting ¶
type Setting struct { // 是否开启申请 ApplyOpen bool `json:"apply_info"` // 申请限制 ApplyLimit int64 `json:"apply_limit"` // 申请被拒绝后的冷冻期 ApplyFrozenDuration int64 `json:"frozen_duration"` // 是否在推荐页面展示最新投稿 ShowRecommendNewArticles bool `json:"show_rec_new_arts"` // 是否展示web端排行榜的说明 ShowRankNote bool `json:"show_rank_note"` // 是否展示app专栏主要的排行榜 ShowAppHomeRank bool `json:"show_app_home_rank"` // 详情页展示稍后在看 ShowLaterWatch bool `json:"show_later_watch"` // 详情页展示小窗播放 ShowSmallWindow bool `json:"show_small_window"` // 热点标签 ShowHotspot bool `json:"show_hotspot"` }
Setting .
type SkyHorseResp ¶
type SkyHorseResp struct { Code int `json:"code"` Data []struct { ID int64 `json:"id"` AvFeature string `json:"av_feature"` } `json:"data"` UserFeature string `json:"user_feature"` }
SkyHorseResp response
type StatMsg ¶
type StatMsg struct { View *int64 `json:"view"` Like *int64 `json:"like"` Dislike *int64 `json:"dislike"` Favorite *int64 `json:"fav"` Reply *int64 `json:"reply"` Coin *int64 `json:"coin"` Aid int64 `json:"aid"` Mid int64 `json:"mid"` IP string `json:"ip"` CheatInfo *CheatInfo `json:"cheat_info"` }
StatMsg means article's stat message in databus.
type Stats ¶
type Stats struct { View int64 `protobuf:"varint,1,opt,name=view,proto3" json:"view"` Favorite int64 `protobuf:"varint,2,opt,name=favorite,proto3" json:"favorite"` Like int64 `protobuf:"varint,3,opt,name=like,proto3" json:"like"` Dislike int64 `protobuf:"varint,4,opt,name=dislike,proto3" json:"dislike"` Reply int64 `protobuf:"varint,5,opt,name=reply,proto3" json:"reply"` Coin int64 `protobuf:"varint,7,opt,name=coin,proto3" json:"coin"` Dynamic int64 `protobuf:"varint,8,opt,name=dynamic,proto3" json:"dynamic"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Stats) Descriptor ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) XXX_DiscardUnknown ¶
func (m *Stats) XXX_DiscardUnknown()
func (*Stats) XXX_Marshal ¶
func (*Stats) XXX_Unmarshal ¶
type Tag ¶
type Tag struct { Tid int64 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tag) Descriptor ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) XXX_DiscardUnknown ¶
func (m *Tag) XXX_DiscardUnknown()
func (*Tag) XXX_Unmarshal ¶
type ThirtyDayArticle ¶
type ThirtyDayArticle struct { Category string `json:"category"` ThirtyDay []*data.ThirtyDay `json:"thirty_day"` }
ThirtyDayArticle for article 30 days data.
type TicketCard ¶
type TicketCard struct { ID int64 `json:"id"` Name string `json:"name"` Image string `json:"performance_image"` StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` Province string `json:"province_name"` City string `json:"city_name"` District string `json:"district_name"` Venue string `json:"venue_name"` PriceLow float64 `json:"price_low"` URL string `json:"url"` }
TicketCard .
type UpArtMetas ¶
type UpArtMetas struct { Articles []*Meta `json:"articles"` Pn int `json:"pn"` Ps int `json:"ps"` Count int `json:"count"` }
UpArtMetas article list.
type UpArtMetasLists ¶
type UpArtMetasLists struct { *UpArtMetas UpLists UpLists `json:"up_lists"` }
UpArtMetasLists .
type UpStat ¶
type UpStat struct { View int64 `json:"view"` Reply int64 `json:"reply"` Like int64 `json:"like"` Coin int64 `json:"coin"` Fav int64 `json:"fav"` PreView int64 `json:"-"` PreReply int64 `json:"-"` PreLike int64 `json:"-"` PreCoin int64 `json:"-"` PreFav int64 `json:"-"` IncrView int64 `json:"incr_view"` IncrReply int64 `json:"incr_reply"` IncrLike int64 `json:"incr_like"` IncrCoin int64 `json:"incr_coin"` IncrFav int64 `json:"incr_fav"` }
UpStat for bigdata article up stat
type ViewInfo ¶
type ViewInfo struct { Like int8 `json:"like"` Attention bool `json:"attention"` Favorite bool `json:"favorite"` Coin int64 `json:"coin"` Stats Stats `json:"stats"` Title string `json:"title"` BannerURL string `json:"banner_url"` Mid int64 `json:"mid"` AuthorName string `json:"author_name"` IsAuthor bool `json:"is_author"` ImageURLs []string `json:"image_urls"` OriginImageURLs []string `json:"origin_image_urls"` ShowLaterWatch bool `json:"show_later_watch"` ShowSmallWindow bool `json:"show_small_window"` InList bool `json:"in_list"` Pre int64 `json:"pre"` Next int64 `json:"next"` }
ViewInfo model
type VipInfo ¶
type VipInfo struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"` DueDate int64 `protobuf:"varint,3,opt,name=due_date,json=dueDate,proto3" json:"due_date"` VipPayType int32 `protobuf:"varint,4,opt,name=vip_pay_type,json=vipPayType,proto3" json:"vip_pay_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VipInfo) Descriptor ¶
func (*VipInfo) ProtoMessage ¶
func (*VipInfo) ProtoMessage()
func (*VipInfo) XXX_DiscardUnknown ¶
func (m *VipInfo) XXX_DiscardUnknown()
func (*VipInfo) XXX_Marshal ¶
func (*VipInfo) XXX_Unmarshal ¶
type WebListArticles ¶
type WebListArticles struct { List *List `json:"list"` Articles []*FullListArtMeta `json:"articles"` Author *Author `json:"author"` Last ListArtMeta `json:"last"` Attention bool `json:"attention"` }
WebListArticles .