Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetHitokotoReq ¶
type GetHitokotoRes ¶
type GetHitokotoRes model.HitokotoV1WithPoll
type GetOnePollsReq ¶
type GetOnePollsReq struct { g.Meta `path:"/hitokoto/{uuid}/polls" method:"get" summary:"获取一言最新的投票信息" tags:"Hitokoto"` UUID string `` //nolint:lll /* 174-byte string literal not displayed */ WithPolledData bool `json:"with_polled_data" dc:"是否返回投票记录" v:"boolean" d:"false"` Page int `json:"page" dc:"页码" v:"min:1" d:"1"` PageSize int `json:"page_size" dc:"每页数量" v:"min:0|max:1000" d:"30"` }
type GetOnePollsRes ¶
type GetOnePollsRes model.Page[model.PollListElement]
Click to show internal directories.
Click to hide internal directories.