Documentation
¶
Index ¶
- type CurrentUser
- type ReqEpisodeCollectionBatch
- type ResUserEpisodeCollection
- type User
- func (h User) Get(c echo.Context) error
- func (h User) GetAvatar(c echo.Context) error
- func (h User) GetCharacterCollection(c echo.Context) error
- func (h User) GetCurrent(c echo.Context) error
- func (h User) GetEpisodeCollection(c echo.Context) error
- func (h User) GetPersonCollection(c echo.Context) error
- func (h User) GetSubjectCollection(c echo.Context) error
- func (h User) GetSubjectEpisodeCollection(c echo.Context) error
- func (h User) ListCharacterCollection(c echo.Context) error
- func (h User) ListPersonCollection(c echo.Context) error
- func (h User) ListSubjectCollection(c echo.Context) error
- func (h User) PatchEpisodeCollectionBatch(c echo.Context) error
- func (h User) PatchSubjectCollection(c echo.Context) error
- func (h User) PostSubjectCollection(c echo.Context) error
- func (h User) PutEpisodeCollection(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentUser ¶ added in v0.34.0
type ReqEpisodeCollectionBatch ¶
type ReqEpisodeCollectionBatch struct {
EpisodeID []model.EpisodeID `json:"episode_id"`
Type collection.EpisodeCollection `json:"type"`
}
func (ReqEpisodeCollectionBatch) Validate ¶
func (r ReqEpisodeCollectionBatch) Validate() error
type ResUserEpisodeCollection ¶
type ResUserEpisodeCollection struct {
Episode res.Episode `json:"episode"`
Type collection.EpisodeCollection `json:"type"`
}
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (User) GetCharacterCollection ¶ added in v0.34.0
func (User) GetPersonCollection ¶ added in v0.34.0
func (User) GetSubjectEpisodeCollection ¶
GetSubjectEpisodeCollection return episodes with user's collection info.
func (User) ListCharacterCollection ¶ added in v0.34.0
func (User) ListPersonCollection ¶ added in v0.34.0
func (User) PatchEpisodeCollectionBatch ¶
PatchEpisodeCollectionBatch
/v0/users/-/collections/:subject_id/episodes"
func (User) PostSubjectCollection ¶ added in v0.32.9
Source Files
¶
Click to show internal directories.
Click to hide internal directories.