Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateManga ¶
func CreateManga(w http.ResponseWriter, r *http.Request)
CreateManga godoc @Summary Create a manga @Description Creates a manga in the database @Tags manga @Accept json @Produce json @Param manga body models.Manga true "Manga" @Success 201 {object} models.Manga @Router /manga [post]
func CreateVolume ¶
func CreateVolume(w http.ResponseWriter, r *http.Request)
CreateVolume godoc @Summary Create a volume @Description Creates a volume in the database @Tags volume @Accept json @Produce json @Param volume body models.Volume true "Volume" @Success 201 {object} models.Volume @Router /manga/volume [post]
func GetManga ¶
func GetManga(w http.ResponseWriter, r *http.Request)
GetManga godoc @Summary Get a manga @Description Gets a manga from the database @Tags manga @Produce json @Param id path string true "Manga ID" @Success 200 {object} models.Manga @Router /manga/{id} [get]
Types ¶
This section is empty.