Documentation ¶
Index ¶
- Variables
- func DeleteEntryCover(s *server.Server) gin.HandlerFunc
- func DeleteSeriesCover(s *server.Server) gin.HandlerFunc
- func GetEntries(s *server.Server) gin.HandlerFunc
- func GetEntry(s *server.Server) gin.HandlerFunc
- func GetEntryArchive(s *server.Server) gin.HandlerFunc
- func GetEntryCover(s *server.Server) gin.HandlerFunc
- func GetEntryPage(s *server.Server) gin.HandlerFunc
- func GetEntryProgress(s *server.Server) gin.HandlerFunc
- func GetEntryProgressInternal(uid, sid, eid string, s *server.Server) (users.EntryProgress, users.SeriesProgress, users.CatalogProgress, error)
- func GetSeries(s *server.Server) gin.HandlerFunc
- func GetSeriesCover(s *server.Server) gin.HandlerFunc
- func GetSeriesProgress(s *server.Server) gin.HandlerFunc
- func GetSeriesProgressInternal(uid, sid string, s *server.Server) (users.SeriesProgress, users.CatalogProgress, error)
- func NewService(g *server.RouterGroup)
- func PatchEntry(s *server.Server) gin.HandlerFunc
- func PatchEntryCover(s *server.Server) gin.HandlerFunc
- func PatchEntryProgress(s *server.Server) gin.HandlerFunc
- func PatchSeries(s *server.Server) gin.HandlerFunc
- func PatchSeriesCover(s *server.Server) gin.HandlerFunc
- func PatchSeriesProgress(s *server.Server) gin.HandlerFunc
- func PatchSeriesTags(s *server.Server) gin.HandlerFunc
- type EntriesProgressReply
- type EntryProgressRequest
- type PatchCoverReply
- type SeriesEntriesReply
- type SeriesEntryReply
- type SeriesProgressReply
- type SeriesProgressRequest
- type SeriesReply
- type TagsReply
- type TagsRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoEntryProgress = errors.New("entry progress does not exist")
Functions ¶
func DeleteEntryCover ¶
func DeleteEntryCover(s *server.Server) gin.HandlerFunc
func DeleteSeriesCover ¶
func DeleteSeriesCover(s *server.Server) gin.HandlerFunc
func GetEntries ¶
func GetEntries(s *server.Server) gin.HandlerFunc
func GetEntryArchive ¶
func GetEntryArchive(s *server.Server) gin.HandlerFunc
func GetEntryCover ¶
func GetEntryCover(s *server.Server) gin.HandlerFunc
func GetEntryPage ¶
func GetEntryPage(s *server.Server) gin.HandlerFunc
func GetEntryProgress ¶
func GetEntryProgress(s *server.Server) gin.HandlerFunc
func GetEntryProgressInternal ¶
func GetEntryProgressInternal(uid, sid, eid string, s *server.Server) (users.EntryProgress, users.SeriesProgress, users.CatalogProgress, error)
func GetSeriesCover ¶
func GetSeriesCover(s *server.Server) gin.HandlerFunc
func GetSeriesProgress ¶
func GetSeriesProgress(s *server.Server) gin.HandlerFunc
func GetSeriesProgressInternal ¶
func GetSeriesProgressInternal(uid, sid string, s *server.Server) (users.SeriesProgress, users.CatalogProgress, error)
func NewService ¶
func NewService(g *server.RouterGroup)
func PatchEntry ¶
func PatchEntry(s *server.Server) gin.HandlerFunc
func PatchEntryCover ¶
func PatchEntryCover(s *server.Server) gin.HandlerFunc
func PatchEntryProgress ¶
func PatchEntryProgress(s *server.Server) gin.HandlerFunc
func PatchSeries ¶
func PatchSeries(s *server.Server) gin.HandlerFunc
func PatchSeriesCover ¶
func PatchSeriesCover(s *server.Server) gin.HandlerFunc
func PatchSeriesProgress ¶
func PatchSeriesProgress(s *server.Server) gin.HandlerFunc
func PatchSeriesTags ¶
func PatchSeriesTags(s *server.Server) gin.HandlerFunc
Types ¶
type EntriesProgressReply ¶
type EntriesProgressReply struct { Success bool `json:"success"` Progress users.EntryProgress `json:"progress"` }
EntriesProgressReply for /api/series/:sid/entries/:eid/progress
type EntryProgressRequest ¶
type EntryProgressRequest struct {
Progress string `json:"progress"`
}
EntryProgressRequest for /api/series/:sid/entries/:eid/progress
type PatchCoverReply ¶
type PatchCoverReply struct {
Success bool `json:"success"`
}
PatchCoverReply for /api/series/:sid/cover
type SeriesEntriesReply ¶
SeriesEntriesReply for /api/series/:id/entries
type SeriesEntryReply ¶
SeriesEntryReply for /api/series/:id/entries/:eid
type SeriesProgressReply ¶
type SeriesProgressReply struct { Success bool `json:"success"` Progress map[string]users.EntryProgress `json:"progress"` }
SeriesProgressReply for /api/series/:sid/progress
type SeriesProgressRequest ¶
type SeriesProgressRequest struct {
Progress string `json:"progress"`
}
SeriesProgressRequest for /api/series/:sid/progress
type SeriesReply ¶
SeriesReply for /api/series/:sid
type TagsReply ¶
type TagsReply struct {
Success bool `json:"success"`
}
TagsReply for the route /api/tag/:id/series
type TagsRequest ¶
type TagsRequest struct {
Tags []string `json:"tags"`
}
TagsRequest for the route /api/tag/:id/series
Click to show internal directories.
Click to hide internal directories.