Documentation
¶
Index ¶
- type ReqEpisodeCollectionBatch
- type ResUserEpisodeCollection
- type User
- func (h User) Get(c *fiber.Ctx) error
- func (h User) GetAvatar(c *fiber.Ctx) error
- func (h User) GetCurrent(c *fiber.Ctx) error
- func (h User) GetEpisodeCollection(c *fiber.Ctx) error
- func (h User) GetSubjectCollection(c *fiber.Ctx) error
- func (h User) GetSubjectEpisodeCollection(c *fiber.Ctx) error
- func (h User) ListSubjectCollection(c *fiber.Ctx) error
- func (h User) PatchEpisodeCollectionBatch(c *fiber.Ctx) error
- func (h User) PatchSubjectCollection(c *fiber.Ctx) error
- func (h User) PutEpisodeCollection(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReqEpisodeCollectionBatch ¶ added in v0.23.8
type ReqEpisodeCollectionBatch struct { EpisodeID []model.EpisodeID `json:"episode_id"` Type model.EpisodeCollection `json:"type"` }
func (ReqEpisodeCollectionBatch) Validate ¶ added in v0.23.8
func (r ReqEpisodeCollectionBatch) Validate() error
type ResUserEpisodeCollection ¶ added in v0.23.0
type ResUserEpisodeCollection struct { Episode res.Episode `json:"episode"` Type model.EpisodeCollection `json:"type"` }
type User ¶
func (User) GetCurrent ¶
func (User) GetEpisodeCollection ¶ added in v0.23.0
func (User) GetSubjectCollection ¶
func (User) GetSubjectEpisodeCollection ¶ added in v0.23.0
GetSubjectEpisodeCollection return episodes with user's collection info.
func (User) ListSubjectCollection ¶
func (User) PatchEpisodeCollectionBatch ¶ added in v0.23.8
PatchEpisodeCollectionBatch
/v0/users/-/collections/:subject_id/episodes"
func (User) PatchSubjectCollection ¶ added in v0.23.8
func (User) PutEpisodeCollection ¶ added in v0.27.0
PutEpisodeCollection
/v0/users/-/collections/-/episodes/:episode_id
Click to show internal directories.
Click to hide internal directories.