rapi

package
v0.0.0-...-1814500 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package rapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes contextKey = "BearerAuth.Scopes"
)
View Source
const SecuritySchemeBearerAuth = "BearerAuth"

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewAPI

func NewAPI(svc Service, oa OAuth, log logger.Logger) *api

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AddCategoryFormdataRequestBody

type AddCategoryFormdataRequestBody = NewCategory

AddCategoryFormdataRequestBody defines body for AddCategory for application/x-www-form-urlencoded ContentType.

type AddCategoryJSONRequestBody

type AddCategoryJSONRequestBody = NewCategory

AddCategoryJSONRequestBody defines body for AddCategory for application/json ContentType.

type AddCategoryRelationFormdataRequestBody

type AddCategoryRelationFormdataRequestBody = NewCategoryRelation

AddCategoryRelationFormdataRequestBody defines body for AddCategoryRelation for application/x-www-form-urlencoded ContentType.

type AddCategoryRelationJSONRequestBody

type AddCategoryRelationJSONRequestBody = NewCategoryRelation

AddCategoryRelationJSONRequestBody defines body for AddCategoryRelation for application/json ContentType.

type AddCategoryTypeFormdataRequestBody

type AddCategoryTypeFormdataRequestBody = NewGenericType

AddCategoryTypeFormdataRequestBody defines body for AddCategoryType for application/x-www-form-urlencoded ContentType.

type AddCategoryTypeJSONRequestBody

type AddCategoryTypeJSONRequestBody = NewGenericType

AddCategoryTypeJSONRequestBody defines body for AddCategoryType for application/json ContentType.

type AddComicCategoryFormdataRequestBody

type AddComicCategoryFormdataRequestBody = NewComicCategory

AddComicCategoryFormdataRequestBody defines body for AddComicCategory for application/x-www-form-urlencoded ContentType.

type AddComicCategoryJSONRequestBody

type AddComicCategoryJSONRequestBody = NewComicCategory

AddComicCategoryJSONRequestBody defines body for AddComicCategory for application/json ContentType.

type AddComicChapterFormdataRequestBody

type AddComicChapterFormdataRequestBody = NewComicChapter

AddComicChapterFormdataRequestBody defines body for AddComicChapter for application/x-www-form-urlencoded ContentType.

type AddComicChapterJSONRequestBody

type AddComicChapterJSONRequestBody = NewComicChapter

AddComicChapterJSONRequestBody defines body for AddComicChapter for application/json ContentType.

type AddComicCoverFormdataRequestBody

type AddComicCoverFormdataRequestBody = NewComicCover

AddComicCoverFormdataRequestBody defines body for AddComicCover for application/x-www-form-urlencoded ContentType.

type AddComicCoverJSONRequestBody

type AddComicCoverJSONRequestBody = NewComicCover

AddComicCoverJSONRequestBody defines body for AddComicCover for application/json ContentType.

type AddComicExternalFormdataRequestBody

type AddComicExternalFormdataRequestBody = NewComicExternal

AddComicExternalFormdataRequestBody defines body for AddComicExternal for application/x-www-form-urlencoded ContentType.

type AddComicExternalJSONRequestBody

type AddComicExternalJSONRequestBody = NewComicExternal

AddComicExternalJSONRequestBody defines body for AddComicExternal for application/json ContentType.

type AddComicFormdataRequestBody

type AddComicFormdataRequestBody = NewComic

AddComicFormdataRequestBody defines body for AddComic for application/x-www-form-urlencoded ContentType.

type AddComicJSONRequestBody

type AddComicJSONRequestBody = NewComic

AddComicJSONRequestBody defines body for AddComic for application/json ContentType.

type AddComicRelationFormdataRequestBody

type AddComicRelationFormdataRequestBody = NewComicRelation

AddComicRelationFormdataRequestBody defines body for AddComicRelation for application/x-www-form-urlencoded ContentType.

type AddComicRelationJSONRequestBody

type AddComicRelationJSONRequestBody = NewComicRelation

AddComicRelationJSONRequestBody defines body for AddComicRelation for application/json ContentType.

type AddComicRelationTypeFormdataRequestBody

type AddComicRelationTypeFormdataRequestBody = NewGenericType

AddComicRelationTypeFormdataRequestBody defines body for AddComicRelationType for application/x-www-form-urlencoded ContentType.

type AddComicRelationTypeJSONRequestBody

type AddComicRelationTypeJSONRequestBody = NewGenericType

AddComicRelationTypeJSONRequestBody defines body for AddComicRelationType for application/json ContentType.

type AddComicSynopsisFormdataRequestBody

type AddComicSynopsisFormdataRequestBody = NewComicSynopsis

AddComicSynopsisFormdataRequestBody defines body for AddComicSynopsis for application/x-www-form-urlencoded ContentType.

type AddComicSynopsisJSONRequestBody

type AddComicSynopsisJSONRequestBody = NewComicSynopsis

AddComicSynopsisJSONRequestBody defines body for AddComicSynopsis for application/json ContentType.

type AddComicTagFormdataRequestBody

type AddComicTagFormdataRequestBody = NewComicTag

AddComicTagFormdataRequestBody defines body for AddComicTag for application/x-www-form-urlencoded ContentType.

type AddComicTagJSONRequestBody

type AddComicTagJSONRequestBody = NewComicTag

AddComicTagJSONRequestBody defines body for AddComicTag for application/json ContentType.

type AddComicTitleFormdataRequestBody

type AddComicTitleFormdataRequestBody = NewComicTitle

AddComicTitleFormdataRequestBody defines body for AddComicTitle for application/x-www-form-urlencoded ContentType.

type AddComicTitleJSONRequestBody

type AddComicTitleJSONRequestBody = NewComicTitle

AddComicTitleJSONRequestBody defines body for AddComicTitle for application/json ContentType.

type AddLanguageFormdataRequestBody

type AddLanguageFormdataRequestBody = NewLanguage

AddLanguageFormdataRequestBody defines body for AddLanguage for application/x-www-form-urlencoded ContentType.

type AddLanguageJSONRequestBody

type AddLanguageJSONRequestBody = NewLanguage

AddLanguageJSONRequestBody defines body for AddLanguage for application/json ContentType.

type AddTagFormdataRequestBody

type AddTagFormdataRequestBody = NewTag

AddTagFormdataRequestBody defines body for AddTag for application/x-www-form-urlencoded ContentType.

type AddTagJSONRequestBody

type AddTagJSONRequestBody = NewTag

AddTagJSONRequestBody defines body for AddTag for application/json ContentType.

type AddTagTypeFormdataRequestBody

type AddTagTypeFormdataRequestBody = NewGenericType

AddTagTypeFormdataRequestBody defines body for AddTagType for application/x-www-form-urlencoded ContentType.

type AddTagTypeJSONRequestBody

type AddTagTypeJSONRequestBody = NewGenericType

AddTagTypeJSONRequestBody defines body for AddTagType for application/json ContentType.

type AddWebsiteFormdataRequestBody

type AddWebsiteFormdataRequestBody = NewWebsite

AddWebsiteFormdataRequestBody defines body for AddWebsite for application/x-www-form-urlencoded ContentType.

type AddWebsiteJSONRequestBody

type AddWebsiteJSONRequestBody = NewWebsite

AddWebsiteJSONRequestBody defines body for AddWebsite for application/json ContentType.

type Category

type Category struct {
	Code      string              `json:"code"`
	CreatedAt time.Time           `json:"createdAt"`
	ID        uint                `json:"id"`
	Name      string              `json:"name"`
	Relations *[]CategoryRelation `json:"relations,omitempty"`
	TypeCode  string              `json:"typeCode"`
	TypeID    uint                `json:"typeID"`
	UpdatedAt *time.Time          `json:"updatedAt"`
}

Category defines model for Category.

type CategoryRelation

type CategoryRelation struct {
	CategoryCode string     `json:"categoryCode"`
	CategoryID   uint       `json:"categoryID"`
	CreatedAt    time.Time  `json:"createdAt"`
	UpdatedAt    *time.Time `json:"updatedAt"`
}

CategoryRelation defines model for CategoryRelation.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Comic

type Comic struct {
	Additionals   map[string]interface{} `json:"additionals"`
	Categories    *[]Category            `json:"categories,omitempty"`
	Chapters      *[]ComicChapter        `json:"chapters,omitempty"`
	Code          string                 `json:"code"`
	Covers        *[]ComicCover          `json:"covers,omitempty"`
	CreatedAt     time.Time              `json:"createdAt"`
	Externals     *[]ComicExternal       `json:"externals,omitempty"`
	ID            uint                   `json:"id"`
	LanguageID    *uint                  `json:"languageID"`
	LanguageIETF  *string                `json:"languageIETF"`
	NSFL          *int                   `json:"nsfl"`
	NSFW          *int                   `json:"nsfw"`
	PublishedFrom *time.Time             `json:"publishedFrom"`
	PublishedTo   *time.Time             `json:"publishedTo"`
	Relations     *[]ComicRelation       `json:"relations,omitempty"`
	Synopses      *[]ComicSynopsis       `json:"synopses,omitempty"`
	Tags          *[]Tag                 `json:"tags,omitempty"`
	Titles        *[]ComicTitle          `json:"titles,omitempty"`
	TotalChapter  *int                   `json:"totalChapter"`
	TotalVolume   *int                   `json:"totalVolume"`
	UpdatedAt     *time.Time             `json:"updatedAt"`
}

Comic defines model for Comic.

type ComicCategory

type ComicCategory struct {
	CategoryCode   string     `json:"categoryCode"`
	CategoryID     uint       `json:"categoryID"`
	CategoryTypeID uint       `json:"categoryTypeID"`
	CreatedAt      time.Time  `json:"createdAt"`
	UpdatedAt      *time.Time `json:"updatedAt"`
}

ComicCategory defines model for ComicCategory.

type ComicChapter

type ComicChapter struct {
	Chapter    string     `json:"chapter"`
	CreatedAt  time.Time  `json:"createdAt"`
	ID         uint       `json:"id"`
	ReleasedAt time.Time  `json:"releasedAt"`
	UpdatedAt  *time.Time `json:"updatedAt"`
	Version    *string    `json:"version"`
	Volume     *string    `json:"volume"`
}

ComicChapter defines model for ComicChapter.

type ComicCover

type ComicCover struct {
	CreatedAt     time.Time  `json:"createdAt"`
	ID            uint       `json:"id"`
	Priority      *int       `json:"priority"`
	RelativeURL   string     `json:"relativeURL"`
	RID           string     `json:"rid"`
	UpdatedAt     *time.Time `json:"updatedAt"`
	WebsiteDomain string     `json:"websiteDomain"`
	WebsiteID     uint       `json:"websiteID"`
}

ComicCover defines model for ComicCover.

type ComicExternal

type ComicExternal struct {
	CreatedAt     time.Time  `json:"createdAt"`
	ID            uint       `json:"id"`
	Official      *bool      `json:"official"`
	RelativeURL   *string    `json:"relativeURL"`
	RID           string     `json:"rid"`
	UpdatedAt     *time.Time `json:"updatedAt"`
	WebsiteDomain string     `json:"websiteDomain"`
	WebsiteID     uint       `json:"websiteID"`
}

ComicExternal defines model for ComicExternal.

type ComicRelation

type ComicRelation struct {
	ComicCode string     `json:"comicCode"`
	ComicID   uint       `json:"comicID"`
	CreatedAt time.Time  `json:"createdAt"`
	TypeCode  *string    `json:"typeCode,omitempty"`
	TypeID    uint       `json:"typeID"`
	UpdatedAt *time.Time `json:"updatedAt"`
}

ComicRelation defines model for ComicRelation.

type ComicSynopsis

type ComicSynopsis struct {
	CreatedAt    time.Time  `json:"createdAt"`
	ID           uint       `json:"id"`
	LanguageID   uint       `json:"languageID"`
	LanguageIETF string     `json:"languageIETF"`
	RID          string     `json:"rid"`
	Romanized    *bool      `json:"romanized"`
	Synopsis     string     `json:"synopsis"`
	UpdatedAt    *time.Time `json:"updatedAt"`
	Version      *string    `json:"version"`
}

ComicSynopsis defines model for ComicSynopsis.

type ComicTag

type ComicTag struct {
	CreatedAt time.Time  `json:"createdAt"`
	TagCode   string     `json:"tagCode"`
	TagID     uint       `json:"tagID"`
	TagTypeID uint       `json:"tagTypeID"`
	UpdatedAt *time.Time `json:"updatedAt"`
}

ComicTag defines model for ComicTag.

type ComicTitle

type ComicTitle struct {
	CreatedAt    time.Time  `json:"createdAt"`
	ID           uint       `json:"id"`
	LanguageID   uint       `json:"languageID"`
	LanguageIETF string     `json:"languageIETF"`
	RID          string     `json:"rid"`
	Romanized    *bool      `json:"romanized"`
	Synonym      *bool      `json:"synonym"`
	Title        string     `json:"title"`
	UpdatedAt    *time.Time `json:"updatedAt"`
}

ComicTitle defines model for ComicTitle.

type Default

type Default = Error

Default defines model for Default.

type Error

type Error struct {
	Error struct {
		Message string `json:"message"`
		Status  string `json:"status"`
	} `json:"error"`
}

Error defines model for Error.

type GenericType

type GenericType struct {
	Code      string     `json:"code"`
	CreatedAt time.Time  `json:"createdAt"`
	ID        uint       `json:"id"`
	Name      string     `json:"name"`
	UpdatedAt *time.Time `json:"updatedAt"`
}

GenericType defines model for GenericType.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type Language

type Language struct {
	CreatedAt time.Time  `json:"createdAt"`
	ID        uint       `json:"id"`
	IETF      string     `json:"ietf"`
	Name      string     `json:"name"`
	UpdatedAt *time.Time `json:"updatedAt"`
}

Language defines model for Language.

type ListCategoryParams

type ListCategoryParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListCategoryParams defines parameters for ListCategory.

type ListCategoryTypeParams

type ListCategoryTypeParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListCategoryTypeParams defines parameters for ListCategoryType.

type ListComicChapterParams

type ListComicChapterParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListComicChapterParams defines parameters for ListComicChapter.

type ListComicParams

type ListComicParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`

	// ComicExternal Filter by comic external values.
	ComicExternal *[]string `form:"comic_external,omitempty" json:"comic_external,omitempty"`
}

ListComicParams defines parameters for ListComic.

type ListComicRelationTypeParams

type ListComicRelationTypeParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListComicRelationTypeParams defines parameters for ListComicRelationType.

type ListLanguageParams

type ListLanguageParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListLanguageParams defines parameters for ListLanguage.

type ListTagParams

type ListTagParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListTagParams defines parameters for ListTag.

type ListTagTypeParams

type ListTagTypeParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListTagTypeParams defines parameters for ListTagType.

type ListWebsiteParams

type ListWebsiteParams struct {
	// Page Page number of results.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Maximum number of results.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// OrderBy Sort results returned.
	OrderBy *[]string `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListWebsiteParams defines parameters for ListWebsite.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NewCategory

type NewCategory struct {
	Code     string  `form:"code" json:"code"`
	Name     string  `form:"name" json:"name"`
	TypeCode *string `form:"typeCode" json:"typeCode"`
	TypeID   *uint   `form:"typeID" json:"typeID"`
}

NewCategory defines model for NewCategory.

type NewCategoryRelation

type NewCategoryRelation struct {
	CategoryCode *string `form:"categoryCode" json:"categoryCode"`
	CategoryID   *uint   `form:"categoryID" json:"categoryID"`
}

NewCategoryRelation defines model for NewCategoryRelation.

type NewComic

type NewComic struct {
	Code          *string    `form:"code" json:"code"`
	LanguageID    *uint      `form:"languageID" json:"languageID"`
	LanguageIETF  *string    `form:"languageIETF" json:"languageIETF"`
	NSFL          *int       `form:"nsfl" json:"nsfl"`
	NSFW          *int       `form:"nsfw" json:"nsfw"`
	PublishedFrom *time.Time `form:"publishedFrom" json:"publishedFrom"`
	PublishedTo   *time.Time `form:"publishedTo" json:"publishedTo"`
	TotalChapter  *int       `form:"totalChapter" json:"totalChapter"`
	TotalVolume   *int       `form:"totalVolume" json:"totalVolume"`
}

NewComic defines model for NewComic.

type NewComicCategory

type NewComicCategory struct {
	CategoryCode     *string `form:"categoryCode" json:"categoryCode"`
	CategoryID       *uint   `form:"categoryID" json:"categoryID"`
	CategoryTypeCode *string `form:"categoryTypeCode" json:"categoryTypeCode"`
	CategoryTypeID   *uint   `form:"categoryTypeID" json:"categoryTypeID"`
}

NewComicCategory defines model for NewComicCategory.

type NewComicChapter

type NewComicChapter struct {
	Chapter    string    `form:"chapter" json:"chapter"`
	ReleasedAt time.Time `form:"releasedAt" json:"releasedAt"`
	Version    *string   `form:"version" json:"version"`
	Volume     *string   `form:"volume" json:"volume"`
}

NewComicChapter defines model for NewComicChapter.

type NewComicCover

type NewComicCover struct {
	Priority      *int    `form:"priority" json:"priority"`
	RelativeURL   string  `form:"relativeURL" json:"relativeURL"`
	RID           *string `form:"rid" json:"rid"`
	WebsiteDomain *string `form:"websiteDomain" json:"websiteDomain"`
	WebsiteID     *uint   `form:"websiteID" json:"websiteID"`
}

NewComicCover defines model for NewComicCover.

type NewComicExternal

type NewComicExternal struct {
	Official      *bool   `form:"official" json:"official"`
	RelativeURL   *string `form:"relativeURL" json:"relativeURL"`
	RID           *string `form:"rid" json:"rid"`
	WebsiteDomain *string `form:"websiteDomain" json:"websiteDomain"`
	WebsiteID     *uint   `form:"websiteID" json:"websiteID"`
}

NewComicExternal defines model for NewComicExternal.

type NewComicRelation

type NewComicRelation struct {
	ComicCode *string `form:"comicCode" json:"comicCode"`
	ComicID   *uint   `form:"comicID" json:"comicID"`
	TypeCode  *string `form:"typeCode" json:"typeCode"`
	TypeID    *uint   `form:"typeID" json:"typeID"`
}

NewComicRelation defines model for NewComicRelation.

type NewComicSynopsis

type NewComicSynopsis struct {
	LanguageID   *uint   `form:"languageID" json:"languageID"`
	LanguageIETF *string `form:"languageIETF" json:"languageIETF"`
	RID          *string `form:"rid" json:"rid"`
	Romanized    *bool   `form:"romanized" json:"romanized"`
	Synopsis     string  `form:"synopsis" json:"synopsis"`
	Version      *string `form:"version" json:"version"`
}

NewComicSynopsis defines model for NewComicSynopsis.

type NewComicTag

type NewComicTag struct {
	TagCode     *string `form:"tagCode" json:"tagCode"`
	TagID       *uint   `form:"tagID" json:"tagID"`
	TagTypeCode *string `form:"tagTypeCode" json:"tagTypeCode"`
	TagTypeID   *uint   `form:"tagTypeID" json:"tagTypeID"`
}

NewComicTag defines model for NewComicTag.

type NewComicTitle

type NewComicTitle struct {
	LanguageID   *uint   `form:"languageID" json:"languageID"`
	LanguageIETF *string `form:"languageIETF" json:"languageIETF"`
	RID          *string `form:"rid" json:"rid"`
	Romanized    *bool   `form:"romanized" json:"romanized"`
	Synonym      *bool   `form:"synonym" json:"synonym"`
	Title        string  `form:"title" json:"title"`
}

NewComicTitle defines model for NewComicTitle.

type NewGenericType

type NewGenericType struct {
	Code string `form:"code" json:"code"`
	Name string `form:"name" json:"name"`
}

NewGenericType defines model for NewGenericType.

type NewLanguage

type NewLanguage struct {
	IETF string `form:"ietf" json:"ietf"`
	Name string `form:"name" json:"name"`
}

NewLanguage defines model for NewLanguage.

type NewTag

type NewTag struct {
	Code     string  `form:"code" json:"code"`
	Name     string  `form:"name" json:"name"`
	TypeCode *string `form:"typeCode" json:"typeCode"`
	TypeID   *uint   `form:"typeID" json:"typeID"`
}

NewTag defines model for NewTag.

type NewWebsite

type NewWebsite struct {
	Domain string `form:"domain" json:"domain"`
	Name   string `form:"name" json:"name"`
}

NewWebsite defines model for NewWebsite.

type OAuth

type OAuth interface {
	ProcessTokenContext(ctx context.Context) (bool, error)
	IsTokenExpiredError(err error) bool
}

type Object

type Object struct {
	CreatedAt time.Time  `json:"createdAt"`
	ID        uint       `json:"id"`
	UpdatedAt *time.Time `json:"updatedAt"`
}

Object defines model for Object.

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ServerInterface

type ServerInterface interface {
	// List category.
	// (GET /categories)
	ListCategory(w http.ResponseWriter, r *http.Request, params ListCategoryParams)
	// Add category.
	// (POST /categories)
	AddCategory(w http.ResponseWriter, r *http.Request)
	// Delete category.
	// (DELETE /categories/{typeID}-{code})
	DeleteCategory(w http.ResponseWriter, r *http.Request, typeID uint, code string)
	// Get category.
	// (GET /categories/{typeID}-{code})
	GetCategory(w http.ResponseWriter, r *http.Request, typeID uint, code string)
	// Update category.
	// (PATCH /categories/{typeID}-{code})
	UpdateCategory(w http.ResponseWriter, r *http.Request, typeID uint, code string)
	// Add category relation.
	// (POST /categories/{typeID}-{code}/relations)
	AddCategoryRelation(w http.ResponseWriter, r *http.Request, typeID uint, code string)
	// Delete category relation.
	// (DELETE /categories/{typeID}-{code}/relations/{categoryCode})
	DeleteCategoryRelation(w http.ResponseWriter, r *http.Request, typeID uint, code string, categoryCode string)
	// Get category relation.
	// (GET /categories/{typeID}-{code}/relations/{categoryCode})
	GetCategoryRelation(w http.ResponseWriter, r *http.Request, typeID uint, code string, categoryCode string)
	// Update category relation.
	// (PATCH /categories/{typeID}-{code}/relations/{categoryCode})
	UpdateCategoryRelation(w http.ResponseWriter, r *http.Request, typeID uint, code string, categoryCode string)
	// List comic.
	// (GET /comics)
	ListComic(w http.ResponseWriter, r *http.Request, params ListComicParams)
	// Add comic.
	// (POST /comics)
	AddComic(w http.ResponseWriter, r *http.Request)
	// Delete comic.
	// (DELETE /comics/{code})
	DeleteComic(w http.ResponseWriter, r *http.Request, code string)
	// Get comic.
	// (GET /comics/{code})
	GetComic(w http.ResponseWriter, r *http.Request, code string)
	// Update comic.
	// (PATCH /comics/{code})
	UpdateComic(w http.ResponseWriter, r *http.Request, code string)
	// Add comic category.
	// (POST /comics/{code}/categories)
	AddComicCategory(w http.ResponseWriter, r *http.Request, code string)
	// Delete comic category.
	// (DELETE /comics/{code}/categories/{typeID}-{categoryCode})
	DeleteComicCategory(w http.ResponseWriter, r *http.Request, code string, typeID uint, categoryCode string)
	// Get comic category.
	// (GET /comics/{code}/categories/{typeID}-{categoryCode})
	GetComicCategory(w http.ResponseWriter, r *http.Request, code string, typeID uint, categoryCode string)
	// Update comic category.
	// (PATCH /comics/{code}/categories/{typeID}-{categoryCode})
	UpdateComicCategory(w http.ResponseWriter, r *http.Request, code string, typeID uint, categoryCode string)
	// List comic chapter.
	// (GET /comics/{code}/chapters)
	ListComicChapter(w http.ResponseWriter, r *http.Request, code string, params ListComicChapterParams)
	// Add comic chapter.
	// (POST /comics/{code}/chapters)
	AddComicChapter(w http.ResponseWriter, r *http.Request, code string)
	// Delete comic chapter.
	// (DELETE /comics/{code}/chapters/{cv})
	DeleteComicChapter(w http.ResponseWriter, r *http.Request, code string, cv string)
	// Get comic chapter.
	// (GET /comics/{code}/chapters/{cv})
	GetComicChapter(w http.ResponseWriter, r *http.Request, code string, cv string)
	// Update comic chapter.
	// (PATCH /comics/{code}/chapters/{cv})
	UpdateComicChapter(w http.ResponseWriter, r *http.Request, code string, cv string)
	// Add comic cover.
	// (POST /comics/{code}/covers)
	AddComicCover(w http.ResponseWriter, r *http.Request, code string)
	// Delete comic cover.
	// (DELETE /comics/{code}/covers/{rid})
	DeleteComicCover(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Get comic cover.
	// (GET /comics/{code}/covers/{rid})
	GetComicCover(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Update comic cover.
	// (PATCH /comics/{code}/covers/{rid})
	UpdateComicCover(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Add comic external.
	// (POST /comics/{code}/externals)
	AddComicExternal(w http.ResponseWriter, r *http.Request, code string)
	// Delete comic external.
	// (DELETE /comics/{code}/externals/{rid})
	DeleteComicExternal(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Get comic external.
	// (GET /comics/{code}/externals/{rid})
	GetComicExternal(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Update comic external.
	// (PATCH /comics/{code}/externals/{rid})
	UpdateComicExternal(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Add comic relation.
	// (POST /comics/{code}/relations)
	AddComicRelation(w http.ResponseWriter, r *http.Request, code string)
	// Delete comic relation.
	// (DELETE /comics/{code}/relations/{typeID}-{comicCode})
	DeleteComicRelation(w http.ResponseWriter, r *http.Request, code string, typeID uint, comicCode string)
	// Get comic relation.
	// (GET /comics/{code}/relations/{typeID}-{comicCode})
	GetComicRelation(w http.ResponseWriter, r *http.Request, code string, typeID uint, comicCode string)
	// Update comic relation.
	// (PATCH /comics/{code}/relations/{typeID}-{comicCode})
	UpdateComicRelation(w http.ResponseWriter, r *http.Request, code string, typeID uint, comicCode string)
	// Add comic synopsis.
	// (POST /comics/{code}/synopses)
	AddComicSynopsis(w http.ResponseWriter, r *http.Request, code string)
	// Delete comic synopsis.
	// (DELETE /comics/{code}/synopses/{rid})
	DeleteComicSynopsis(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Get comic synopsis.
	// (GET /comics/{code}/synopses/{rid})
	GetComicSynopsis(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Update comic synopsis.
	// (PATCH /comics/{code}/synopses/{rid})
	UpdateComicSynopsis(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Add comic tag.
	// (POST /comics/{code}/tags)
	AddComicTag(w http.ResponseWriter, r *http.Request, code string)
	// Delete comic tag.
	// (DELETE /comics/{code}/tags/{typeID}-{tagCode})
	DeleteComicTag(w http.ResponseWriter, r *http.Request, code string, typeID uint, tagCode string)
	// Get comic tag.
	// (GET /comics/{code}/tags/{typeID}-{tagCode})
	GetComicTag(w http.ResponseWriter, r *http.Request, code string, typeID uint, tagCode string)
	// Update comic tag.
	// (PATCH /comics/{code}/tags/{typeID}-{tagCode})
	UpdateComicTag(w http.ResponseWriter, r *http.Request, code string, typeID uint, tagCode string)
	// Add comic title.
	// (POST /comics/{code}/titles)
	AddComicTitle(w http.ResponseWriter, r *http.Request, code string)
	// Delete comic title.
	// (DELETE /comics/{code}/titles/{rid})
	DeleteComicTitle(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Get comic title.
	// (GET /comics/{code}/titles/{rid})
	GetComicTitle(w http.ResponseWriter, r *http.Request, code string, rid string)
	// Update comic title.
	// (PATCH /comics/{code}/titles/{rid})
	UpdateComicTitle(w http.ResponseWriter, r *http.Request, code string, rid string)
	// List language.
	// (GET /languages)
	ListLanguage(w http.ResponseWriter, r *http.Request, params ListLanguageParams)
	// Add language.
	// (POST /languages)
	AddLanguage(w http.ResponseWriter, r *http.Request)
	// Delete language.
	// (DELETE /languages/{ietf})
	DeleteLanguage(w http.ResponseWriter, r *http.Request, ietf string)
	// Get language.
	// (GET /languages/{ietf})
	GetLanguage(w http.ResponseWriter, r *http.Request, ietf string)
	// Update language.
	// (PATCH /languages/{ietf})
	UpdateLanguage(w http.ResponseWriter, r *http.Request, ietf string)
	// List tag.
	// (GET /tags)
	ListTag(w http.ResponseWriter, r *http.Request, params ListTagParams)
	// Add tag.
	// (POST /tags)
	AddTag(w http.ResponseWriter, r *http.Request)
	// Delete tag.
	// (DELETE /tags/{typeID}-{code})
	DeleteTag(w http.ResponseWriter, r *http.Request, typeID uint, code string)
	// Get tag.
	// (GET /tags/{typeID}-{code})
	GetTag(w http.ResponseWriter, r *http.Request, typeID uint, code string)
	// Update tag.
	// (PATCH /tags/{typeID}-{code})
	UpdateTag(w http.ResponseWriter, r *http.Request, typeID uint, code string)
	// List category type.
	// (GET /types/categories)
	ListCategoryType(w http.ResponseWriter, r *http.Request, params ListCategoryTypeParams)
	// Add category type.
	// (POST /types/categories)
	AddCategoryType(w http.ResponseWriter, r *http.Request)
	// Delete category type.
	// (DELETE /types/categories/{code})
	DeleteCategoryType(w http.ResponseWriter, r *http.Request, code string)
	// Get category type.
	// (GET /types/categories/{code})
	GetCategoryType(w http.ResponseWriter, r *http.Request, code string)
	// Update category type.
	// (PATCH /types/categories/{code})
	UpdateCategoryType(w http.ResponseWriter, r *http.Request, code string)
	// List comic relation type.
	// (GET /types/comic-relations)
	ListComicRelationType(w http.ResponseWriter, r *http.Request, params ListComicRelationTypeParams)
	// Add comic relation type.
	// (POST /types/comic-relations)
	AddComicRelationType(w http.ResponseWriter, r *http.Request)
	// Delete comic relation type.
	// (DELETE /types/comic-relations/{code})
	DeleteComicRelationType(w http.ResponseWriter, r *http.Request, code string)
	// Get comic relation type.
	// (GET /types/comic-relations/{code})
	GetComicRelationType(w http.ResponseWriter, r *http.Request, code string)
	// Update comic relation type.
	// (PATCH /types/comic-relations/{code})
	UpdateComicRelationType(w http.ResponseWriter, r *http.Request, code string)
	// List tag type.
	// (GET /types/tags)
	ListTagType(w http.ResponseWriter, r *http.Request, params ListTagTypeParams)
	// Add tag type.
	// (POST /types/tags)
	AddTagType(w http.ResponseWriter, r *http.Request)
	// Delete tag type.
	// (DELETE /types/tags/{code})
	DeleteTagType(w http.ResponseWriter, r *http.Request, code string)
	// Get tag type.
	// (GET /types/tags/{code})
	GetTagType(w http.ResponseWriter, r *http.Request, code string)
	// Update tag type.
	// (PATCH /types/tags/{code})
	UpdateTagType(w http.ResponseWriter, r *http.Request, code string)
	// List website.
	// (GET /websites)
	ListWebsite(w http.ResponseWriter, r *http.Request, params ListWebsiteParams)
	// Add website.
	// (POST /websites)
	AddWebsite(w http.ResponseWriter, r *http.Request)
	// Delete website.
	// (DELETE /websites/{domain})
	DeleteWebsite(w http.ResponseWriter, r *http.Request, domain string)
	// Get website.
	// (GET /websites/{domain})
	GetWebsite(w http.ResponseWriter, r *http.Request, domain string)
	// Update website.
	// (PATCH /websites/{domain})
	UpdateWebsite(w http.ResponseWriter, r *http.Request, domain string)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AddCategory

func (siw *ServerInterfaceWrapper) AddCategory(w http.ResponseWriter, r *http.Request)

AddCategory operation middleware

func (*ServerInterfaceWrapper) AddCategoryRelation

func (siw *ServerInterfaceWrapper) AddCategoryRelation(w http.ResponseWriter, r *http.Request)

AddCategoryRelation operation middleware

func (*ServerInterfaceWrapper) AddCategoryType

func (siw *ServerInterfaceWrapper) AddCategoryType(w http.ResponseWriter, r *http.Request)

AddCategoryType operation middleware

func (*ServerInterfaceWrapper) AddComic

func (siw *ServerInterfaceWrapper) AddComic(w http.ResponseWriter, r *http.Request)

AddComic operation middleware

func (*ServerInterfaceWrapper) AddComicCategory

func (siw *ServerInterfaceWrapper) AddComicCategory(w http.ResponseWriter, r *http.Request)

AddComicCategory operation middleware

func (*ServerInterfaceWrapper) AddComicChapter

func (siw *ServerInterfaceWrapper) AddComicChapter(w http.ResponseWriter, r *http.Request)

AddComicChapter operation middleware

func (*ServerInterfaceWrapper) AddComicCover

func (siw *ServerInterfaceWrapper) AddComicCover(w http.ResponseWriter, r *http.Request)

AddComicCover operation middleware

func (*ServerInterfaceWrapper) AddComicExternal

func (siw *ServerInterfaceWrapper) AddComicExternal(w http.ResponseWriter, r *http.Request)

AddComicExternal operation middleware

func (*ServerInterfaceWrapper) AddComicRelation

func (siw *ServerInterfaceWrapper) AddComicRelation(w http.ResponseWriter, r *http.Request)

AddComicRelation operation middleware

func (*ServerInterfaceWrapper) AddComicRelationType

func (siw *ServerInterfaceWrapper) AddComicRelationType(w http.ResponseWriter, r *http.Request)

AddComicRelationType operation middleware

func (*ServerInterfaceWrapper) AddComicSynopsis

func (siw *ServerInterfaceWrapper) AddComicSynopsis(w http.ResponseWriter, r *http.Request)

AddComicSynopsis operation middleware

func (*ServerInterfaceWrapper) AddComicTag

func (siw *ServerInterfaceWrapper) AddComicTag(w http.ResponseWriter, r *http.Request)

AddComicTag operation middleware

func (*ServerInterfaceWrapper) AddComicTitle

func (siw *ServerInterfaceWrapper) AddComicTitle(w http.ResponseWriter, r *http.Request)

AddComicTitle operation middleware

func (*ServerInterfaceWrapper) AddLanguage

func (siw *ServerInterfaceWrapper) AddLanguage(w http.ResponseWriter, r *http.Request)

AddLanguage operation middleware

func (*ServerInterfaceWrapper) AddTag

AddTag operation middleware

func (*ServerInterfaceWrapper) AddTagType

func (siw *ServerInterfaceWrapper) AddTagType(w http.ResponseWriter, r *http.Request)

AddTagType operation middleware

func (*ServerInterfaceWrapper) AddWebsite

func (siw *ServerInterfaceWrapper) AddWebsite(w http.ResponseWriter, r *http.Request)

AddWebsite operation middleware

func (*ServerInterfaceWrapper) DeleteCategory

func (siw *ServerInterfaceWrapper) DeleteCategory(w http.ResponseWriter, r *http.Request)

DeleteCategory operation middleware

func (*ServerInterfaceWrapper) DeleteCategoryRelation

func (siw *ServerInterfaceWrapper) DeleteCategoryRelation(w http.ResponseWriter, r *http.Request)

DeleteCategoryRelation operation middleware

func (*ServerInterfaceWrapper) DeleteCategoryType

func (siw *ServerInterfaceWrapper) DeleteCategoryType(w http.ResponseWriter, r *http.Request)

DeleteCategoryType operation middleware

func (*ServerInterfaceWrapper) DeleteComic

func (siw *ServerInterfaceWrapper) DeleteComic(w http.ResponseWriter, r *http.Request)

DeleteComic operation middleware

func (*ServerInterfaceWrapper) DeleteComicCategory

func (siw *ServerInterfaceWrapper) DeleteComicCategory(w http.ResponseWriter, r *http.Request)

DeleteComicCategory operation middleware

func (*ServerInterfaceWrapper) DeleteComicChapter

func (siw *ServerInterfaceWrapper) DeleteComicChapter(w http.ResponseWriter, r *http.Request)

DeleteComicChapter operation middleware

func (*ServerInterfaceWrapper) DeleteComicCover

func (siw *ServerInterfaceWrapper) DeleteComicCover(w http.ResponseWriter, r *http.Request)

DeleteComicCover operation middleware

func (*ServerInterfaceWrapper) DeleteComicExternal

func (siw *ServerInterfaceWrapper) DeleteComicExternal(w http.ResponseWriter, r *http.Request)

DeleteComicExternal operation middleware

func (*ServerInterfaceWrapper) DeleteComicRelation

func (siw *ServerInterfaceWrapper) DeleteComicRelation(w http.ResponseWriter, r *http.Request)

DeleteComicRelation operation middleware

func (*ServerInterfaceWrapper) DeleteComicRelationType

func (siw *ServerInterfaceWrapper) DeleteComicRelationType(w http.ResponseWriter, r *http.Request)

DeleteComicRelationType operation middleware

func (*ServerInterfaceWrapper) DeleteComicSynopsis

func (siw *ServerInterfaceWrapper) DeleteComicSynopsis(w http.ResponseWriter, r *http.Request)

DeleteComicSynopsis operation middleware

func (*ServerInterfaceWrapper) DeleteComicTag

func (siw *ServerInterfaceWrapper) DeleteComicTag(w http.ResponseWriter, r *http.Request)

DeleteComicTag operation middleware

func (*ServerInterfaceWrapper) DeleteComicTitle

func (siw *ServerInterfaceWrapper) DeleteComicTitle(w http.ResponseWriter, r *http.Request)

DeleteComicTitle operation middleware

func (*ServerInterfaceWrapper) DeleteLanguage

func (siw *ServerInterfaceWrapper) DeleteLanguage(w http.ResponseWriter, r *http.Request)

DeleteLanguage operation middleware

func (*ServerInterfaceWrapper) DeleteTag

func (siw *ServerInterfaceWrapper) DeleteTag(w http.ResponseWriter, r *http.Request)

DeleteTag operation middleware

func (*ServerInterfaceWrapper) DeleteTagType

func (siw *ServerInterfaceWrapper) DeleteTagType(w http.ResponseWriter, r *http.Request)

DeleteTagType operation middleware

func (*ServerInterfaceWrapper) DeleteWebsite

func (siw *ServerInterfaceWrapper) DeleteWebsite(w http.ResponseWriter, r *http.Request)

DeleteWebsite operation middleware

func (*ServerInterfaceWrapper) GetCategory

func (siw *ServerInterfaceWrapper) GetCategory(w http.ResponseWriter, r *http.Request)

GetCategory operation middleware

func (*ServerInterfaceWrapper) GetCategoryRelation

func (siw *ServerInterfaceWrapper) GetCategoryRelation(w http.ResponseWriter, r *http.Request)

GetCategoryRelation operation middleware

func (*ServerInterfaceWrapper) GetCategoryType

func (siw *ServerInterfaceWrapper) GetCategoryType(w http.ResponseWriter, r *http.Request)

GetCategoryType operation middleware

func (*ServerInterfaceWrapper) GetComic

func (siw *ServerInterfaceWrapper) GetComic(w http.ResponseWriter, r *http.Request)

GetComic operation middleware

func (*ServerInterfaceWrapper) GetComicCategory

func (siw *ServerInterfaceWrapper) GetComicCategory(w http.ResponseWriter, r *http.Request)

GetComicCategory operation middleware

func (*ServerInterfaceWrapper) GetComicChapter

func (siw *ServerInterfaceWrapper) GetComicChapter(w http.ResponseWriter, r *http.Request)

GetComicChapter operation middleware

func (*ServerInterfaceWrapper) GetComicCover

func (siw *ServerInterfaceWrapper) GetComicCover(w http.ResponseWriter, r *http.Request)

GetComicCover operation middleware

func (*ServerInterfaceWrapper) GetComicExternal

func (siw *ServerInterfaceWrapper) GetComicExternal(w http.ResponseWriter, r *http.Request)

GetComicExternal operation middleware

func (*ServerInterfaceWrapper) GetComicRelation

func (siw *ServerInterfaceWrapper) GetComicRelation(w http.ResponseWriter, r *http.Request)

GetComicRelation operation middleware

func (*ServerInterfaceWrapper) GetComicRelationType

func (siw *ServerInterfaceWrapper) GetComicRelationType(w http.ResponseWriter, r *http.Request)

GetComicRelationType operation middleware

func (*ServerInterfaceWrapper) GetComicSynopsis

func (siw *ServerInterfaceWrapper) GetComicSynopsis(w http.ResponseWriter, r *http.Request)

GetComicSynopsis operation middleware

func (*ServerInterfaceWrapper) GetComicTag

func (siw *ServerInterfaceWrapper) GetComicTag(w http.ResponseWriter, r *http.Request)

GetComicTag operation middleware

func (*ServerInterfaceWrapper) GetComicTitle

func (siw *ServerInterfaceWrapper) GetComicTitle(w http.ResponseWriter, r *http.Request)

GetComicTitle operation middleware

func (*ServerInterfaceWrapper) GetLanguage

func (siw *ServerInterfaceWrapper) GetLanguage(w http.ResponseWriter, r *http.Request)

GetLanguage operation middleware

func (*ServerInterfaceWrapper) GetTag

GetTag operation middleware

func (*ServerInterfaceWrapper) GetTagType

func (siw *ServerInterfaceWrapper) GetTagType(w http.ResponseWriter, r *http.Request)

GetTagType operation middleware

func (*ServerInterfaceWrapper) GetWebsite

func (siw *ServerInterfaceWrapper) GetWebsite(w http.ResponseWriter, r *http.Request)

GetWebsite operation middleware

func (*ServerInterfaceWrapper) ListCategory

func (siw *ServerInterfaceWrapper) ListCategory(w http.ResponseWriter, r *http.Request)

ListCategory operation middleware

func (*ServerInterfaceWrapper) ListCategoryType

func (siw *ServerInterfaceWrapper) ListCategoryType(w http.ResponseWriter, r *http.Request)

ListCategoryType operation middleware

func (*ServerInterfaceWrapper) ListComic

func (siw *ServerInterfaceWrapper) ListComic(w http.ResponseWriter, r *http.Request)

ListComic operation middleware

func (*ServerInterfaceWrapper) ListComicChapter

func (siw *ServerInterfaceWrapper) ListComicChapter(w http.ResponseWriter, r *http.Request)

ListComicChapter operation middleware

func (*ServerInterfaceWrapper) ListComicRelationType

func (siw *ServerInterfaceWrapper) ListComicRelationType(w http.ResponseWriter, r *http.Request)

ListComicRelationType operation middleware

func (*ServerInterfaceWrapper) ListLanguage

func (siw *ServerInterfaceWrapper) ListLanguage(w http.ResponseWriter, r *http.Request)

ListLanguage operation middleware

func (*ServerInterfaceWrapper) ListTag

ListTag operation middleware

func (*ServerInterfaceWrapper) ListTagType

func (siw *ServerInterfaceWrapper) ListTagType(w http.ResponseWriter, r *http.Request)

ListTagType operation middleware

func (*ServerInterfaceWrapper) ListWebsite

func (siw *ServerInterfaceWrapper) ListWebsite(w http.ResponseWriter, r *http.Request)

ListWebsite operation middleware

func (*ServerInterfaceWrapper) UpdateCategory

func (siw *ServerInterfaceWrapper) UpdateCategory(w http.ResponseWriter, r *http.Request)

UpdateCategory operation middleware

func (*ServerInterfaceWrapper) UpdateCategoryRelation

func (siw *ServerInterfaceWrapper) UpdateCategoryRelation(w http.ResponseWriter, r *http.Request)

UpdateCategoryRelation operation middleware

func (*ServerInterfaceWrapper) UpdateCategoryType

func (siw *ServerInterfaceWrapper) UpdateCategoryType(w http.ResponseWriter, r *http.Request)

UpdateCategoryType operation middleware

func (*ServerInterfaceWrapper) UpdateComic

func (siw *ServerInterfaceWrapper) UpdateComic(w http.ResponseWriter, r *http.Request)

UpdateComic operation middleware

func (*ServerInterfaceWrapper) UpdateComicCategory

func (siw *ServerInterfaceWrapper) UpdateComicCategory(w http.ResponseWriter, r *http.Request)

UpdateComicCategory operation middleware

func (*ServerInterfaceWrapper) UpdateComicChapter

func (siw *ServerInterfaceWrapper) UpdateComicChapter(w http.ResponseWriter, r *http.Request)

UpdateComicChapter operation middleware

func (*ServerInterfaceWrapper) UpdateComicCover

func (siw *ServerInterfaceWrapper) UpdateComicCover(w http.ResponseWriter, r *http.Request)

UpdateComicCover operation middleware

func (*ServerInterfaceWrapper) UpdateComicExternal

func (siw *ServerInterfaceWrapper) UpdateComicExternal(w http.ResponseWriter, r *http.Request)

UpdateComicExternal operation middleware

func (*ServerInterfaceWrapper) UpdateComicRelation

func (siw *ServerInterfaceWrapper) UpdateComicRelation(w http.ResponseWriter, r *http.Request)

UpdateComicRelation operation middleware

func (*ServerInterfaceWrapper) UpdateComicRelationType

func (siw *ServerInterfaceWrapper) UpdateComicRelationType(w http.ResponseWriter, r *http.Request)

UpdateComicRelationType operation middleware

func (*ServerInterfaceWrapper) UpdateComicSynopsis

func (siw *ServerInterfaceWrapper) UpdateComicSynopsis(w http.ResponseWriter, r *http.Request)

UpdateComicSynopsis operation middleware

func (*ServerInterfaceWrapper) UpdateComicTag

func (siw *ServerInterfaceWrapper) UpdateComicTag(w http.ResponseWriter, r *http.Request)

UpdateComicTag operation middleware

func (*ServerInterfaceWrapper) UpdateComicTitle

func (siw *ServerInterfaceWrapper) UpdateComicTitle(w http.ResponseWriter, r *http.Request)

UpdateComicTitle operation middleware

func (*ServerInterfaceWrapper) UpdateLanguage

func (siw *ServerInterfaceWrapper) UpdateLanguage(w http.ResponseWriter, r *http.Request)

UpdateLanguage operation middleware

func (*ServerInterfaceWrapper) UpdateTag

func (siw *ServerInterfaceWrapper) UpdateTag(w http.ResponseWriter, r *http.Request)

UpdateTag operation middleware

func (*ServerInterfaceWrapper) UpdateTagType

func (siw *ServerInterfaceWrapper) UpdateTagType(w http.ResponseWriter, r *http.Request)

UpdateTagType operation middleware

func (*ServerInterfaceWrapper) UpdateWebsite

func (siw *ServerInterfaceWrapper) UpdateWebsite(w http.ResponseWriter, r *http.Request)

UpdateWebsite operation middleware

type Service

type Service interface {
	AddLanguage(ctx context.Context, data model.AddLanguage, v *model.Language) error
	GetLanguageByIETF(ctx context.Context, ietf string) (*model.Language, error)
	UpdateLanguageByIETF(ctx context.Context, ietf string, data model.SetLanguage, v *model.Language) error
	DeleteLanguageByIETF(ctx context.Context, ietf string) error
	ListLanguage(ctx context.Context, params model.ListParams) ([]*model.Language, error)
	CountLanguage(ctx context.Context, conds any) (int, error)

	AddWebsite(ctx context.Context, data model.AddWebsite, v *model.Website) error
	GetWebsiteByDomain(ctx context.Context, domain string) (*model.Website, error)
	UpdateWebsiteByDomain(ctx context.Context, domain string, data model.SetWebsite, v *model.Website) error
	DeleteWebsiteByDomain(ctx context.Context, domain string) error
	ListWebsite(ctx context.Context, params model.ListParams) ([]*model.Website, error)
	CountWebsite(ctx context.Context, conds any) (int, error)

	AddCategoryType(ctx context.Context, data model.AddCategoryType, v *model.CategoryType) error
	GetCategoryTypeByCode(ctx context.Context, code string) (*model.CategoryType, error)
	UpdateCategoryTypeByCode(ctx context.Context, code string, data model.SetCategoryType, v *model.CategoryType) error
	DeleteCategoryTypeByCode(ctx context.Context, code string) error
	ListCategoryType(ctx context.Context, params model.ListParams) ([]*model.CategoryType, error)
	CountCategoryType(ctx context.Context, conds any) (int, error)
	AddCategory(ctx context.Context, data model.AddCategory, v *model.Category) error
	GetCategoryBySID(ctx context.Context, sid model.CategorySID) (*model.Category, error)
	UpdateCategoryBySID(ctx context.Context, sid model.CategorySID, data model.SetCategory, v *model.Category) error
	DeleteCategoryBySID(ctx context.Context, sid model.CategorySID) error
	ListCategory(ctx context.Context, params model.ListParams) ([]*model.Category, error)
	CountCategory(ctx context.Context, conds any) (int, error)
	AddCategoryRelation(ctx context.Context, data model.AddCategoryRelation, v *model.CategoryRelation) error
	GetCategoryRelationBySID(ctx context.Context, sid model.CategoryRelationSID) (*model.CategoryRelation, error)
	UpdateCategoryRelationBySID(ctx context.Context, sid model.CategoryRelationSID, data model.SetCategoryRelation, v *model.CategoryRelation) error
	DeleteCategoryRelationBySID(ctx context.Context, sid model.CategoryRelationSID) error

	AddTagType(ctx context.Context, data model.AddTagType, v *model.TagType) error
	GetTagTypeByCode(ctx context.Context, code string) (*model.TagType, error)
	UpdateTagTypeByCode(ctx context.Context, code string, data model.SetTagType, v *model.TagType) error
	DeleteTagTypeByCode(ctx context.Context, code string) error
	ListTagType(ctx context.Context, params model.ListParams) ([]*model.TagType, error)
	CountTagType(ctx context.Context, conds any) (int, error)
	AddTag(ctx context.Context, data model.AddTag, v *model.Tag) error
	GetTagBySID(ctx context.Context, sid model.TagSID) (*model.Tag, error)
	UpdateTagBySID(ctx context.Context, sid model.TagSID, data model.SetTag, v *model.Tag) error
	DeleteTagBySID(ctx context.Context, sid model.TagSID) error
	ListTag(ctx context.Context, params model.ListParams) ([]*model.Tag, error)
	CountTag(ctx context.Context, conds any) (int, error)

	// Comic
	AddComic(ctx context.Context, data model.AddComic, v *model.Comic) error
	GetComicByCode(ctx context.Context, code string) (*model.Comic, error)
	UpdateComicByCode(ctx context.Context, code string, data model.SetComic, v *model.Comic) error
	DeleteComicByCode(ctx context.Context, code string) error
	ListComic(ctx context.Context, params model.ListParams) ([]*model.Comic, error)
	CountComic(ctx context.Context, conds any) (int, error)
	ExistsComicByCode(ctx context.Context, code string) (bool, error)
	AddComicTitle(ctx context.Context, data model.AddComicTitle, v *model.ComicTitle) error
	GetComicTitleBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicTitle, error)
	UpdateComicTitleBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicTitle, v *model.ComicTitle) error
	DeleteComicTitleBySID(ctx context.Context, sid model.ComicGenericSID) error
	AddComicCover(ctx context.Context, data model.AddComicCover, v *model.ComicCover) error
	GetComicCoverBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicCover, error)
	UpdateComicCoverBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicCover, v *model.ComicCover) error
	DeleteComicCoverBySID(ctx context.Context, sid model.ComicGenericSID) error
	AddComicSynopsis(ctx context.Context, data model.AddComicSynopsis, v *model.ComicSynopsis) error
	GetComicSynopsisBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicSynopsis, error)
	UpdateComicSynopsisBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicSynopsis, v *model.ComicSynopsis) error
	DeleteComicSynopsisBySID(ctx context.Context, sid model.ComicGenericSID) error
	AddComicExternal(ctx context.Context, data model.AddComicExternal, v *model.ComicExternal) error
	GetComicExternalBySID(ctx context.Context, sid model.ComicGenericSID) (*model.ComicExternal, error)
	UpdateComicExternalBySID(ctx context.Context, sid model.ComicGenericSID, data model.SetComicExternal, v *model.ComicExternal) error
	DeleteComicExternalBySID(ctx context.Context, sid model.ComicGenericSID) error
	AddComicCategory(ctx context.Context, data model.AddComicCategory, v *model.ComicCategory) error
	GetComicCategoryBySID(ctx context.Context, sid model.ComicCategorySID) (*model.ComicCategory, error)
	UpdateComicCategoryBySID(ctx context.Context, sid model.ComicCategorySID, data model.SetComicCategory, v *model.ComicCategory) error
	DeleteComicCategoryBySID(ctx context.Context, sid model.ComicCategorySID) error
	AddComicTag(ctx context.Context, data model.AddComicTag, v *model.ComicTag) error
	GetComicTagBySID(ctx context.Context, sid model.ComicTagSID) (*model.ComicTag, error)
	UpdateComicTagBySID(ctx context.Context, sid model.ComicTagSID, data model.SetComicTag, v *model.ComicTag) error
	DeleteComicTagBySID(ctx context.Context, sid model.ComicTagSID) error
	AddComicRelationType(ctx context.Context, data model.AddComicRelationType, v *model.ComicRelationType) error
	GetComicRelationTypeByCode(ctx context.Context, code string) (*model.ComicRelationType, error)
	UpdateComicRelationTypeByCode(ctx context.Context, code string, data model.SetComicRelationType, v *model.ComicRelationType) error
	DeleteComicRelationTypeByCode(ctx context.Context, code string) error
	ListComicRelationType(ctx context.Context, params model.ListParams) ([]*model.ComicRelationType, error)
	CountComicRelationType(ctx context.Context, conds any) (int, error)
	AddComicRelation(ctx context.Context, data model.AddComicRelation, v *model.ComicRelation) error
	GetComicRelationBySID(ctx context.Context, sid model.ComicRelationSID) (*model.ComicRelation, error)
	UpdateComicRelationBySID(ctx context.Context, sid model.ComicRelationSID, data model.SetComicRelation, v *model.ComicRelation) error
	DeleteComicRelationBySID(ctx context.Context, sid model.ComicRelationSID) error
	// Comic Chapter
	AddComicChapter(ctx context.Context, data model.AddComicChapter, v *model.ComicChapter) error
	GetComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) (*model.ComicChapter, error)
	UpdateComicChapterBySID(ctx context.Context, sid model.ComicChapterSID, data model.SetComicChapter, v *model.ComicChapter) error
	DeleteComicChapterBySID(ctx context.Context, sid model.ComicChapterSID) error
	ListComicChapter(ctx context.Context, params model.ListParams) ([]*model.ComicChapter, error)
	CountComicChapter(ctx context.Context, conds any) (int, error)
}

type SetCategory

type SetCategory struct {
	Code     *string `form:"code" json:"code"`
	Name     *string `form:"name" json:"name"`
	TypeCode *string `form:"typeCode" json:"typeCode"`
	TypeID   *uint   `form:"typeID" json:"typeID"`
}

SetCategory defines model for SetCategory.

type SetCategoryRelation

type SetCategoryRelation struct {
	CategoryCode *string `form:"categoryCode" json:"categoryCode"`
	CategoryID   *uint   `form:"categoryID" json:"categoryID"`
}

SetCategoryRelation defines model for SetCategoryRelation.

type SetComic

type SetComic struct {
	Code          *string    `form:"code" json:"code"`
	LanguageID    *uint      `form:"languageID" json:"languageID"`
	LanguageIETF  *string    `form:"languageIETF" json:"languageIETF"`
	NSFL          *int       `form:"nsfl" json:"nsfl"`
	NSFW          *int       `form:"nsfw" json:"nsfw"`
	PublishedFrom *time.Time `form:"publishedFrom" json:"publishedFrom"`
	PublishedTo   *time.Time `form:"publishedTo" json:"publishedTo"`
	SetNull       []string   `form:"setNull,omitempty" json:"setNull,omitempty"`
	TotalChapter  *int       `form:"totalChapter" json:"totalChapter"`
	TotalVolume   *int       `form:"totalVolume" json:"totalVolume"`
}

SetComic defines model for SetComic.

type SetComicCategory

type SetComicCategory struct {
	CategoryCode     *string `form:"categoryCode" json:"categoryCode"`
	CategoryID       *uint   `form:"categoryID" json:"categoryID"`
	CategoryTypeCode *string `form:"categoryTypeCode" json:"categoryTypeCode"`
	CategoryTypeID   *uint   `form:"categoryTypeID" json:"categoryTypeID"`
}

SetComicCategory defines model for SetComicCategory.

type SetComicChapter

type SetComicChapter struct {
	Chapter    *string    `form:"chapter" json:"chapter"`
	ReleasedAt *time.Time `form:"releasedAt" json:"releasedAt"`
	SetNull    []string   `form:"setNull,omitempty" json:"setNull,omitempty"`
	Version    *string    `form:"version" json:"version"`
	Volume     *string    `form:"volume" json:"volume"`
}

SetComicChapter defines model for SetComicChapter.

type SetComicCover

type SetComicCover struct {
	Priority      *int     `form:"priority" json:"priority"`
	RelativeURL   *string  `form:"relativeURL" json:"relativeURL"`
	RID           *string  `form:"rid" json:"rid"`
	SetNull       []string `form:"setNull,omitempty" json:"setNull,omitempty"`
	WebsiteDomain *string  `form:"websiteDomain" json:"websiteDomain"`
	WebsiteID     *uint    `form:"websiteID" json:"websiteID"`
}

SetComicCover defines model for SetComicCover.

type SetComicExternal

type SetComicExternal struct {
	Official      *bool    `form:"official" json:"official"`
	RelativeURL   *string  `form:"relativeURL" json:"relativeURL"`
	RID           *string  `form:"rid" json:"rid"`
	SetNull       []string `form:"setNull,omitempty" json:"setNull,omitempty"`
	WebsiteDomain *string  `form:"websiteDomain" json:"websiteDomain"`
	WebsiteID     *uint    `form:"websiteID" json:"websiteID"`
}

SetComicExternal defines model for SetComicExternal.

type SetComicRelation

type SetComicRelation struct {
	ComicCode *string `form:"comicCode" json:"comicCode"`
	ComicID   *uint   `form:"comicID" json:"comicID"`
	TypeCode  *string `form:"typeCode" json:"typeCode"`
	TypeID    *uint   `form:"typeID" json:"typeID"`
}

SetComicRelation defines model for SetComicRelation.

type SetComicSynopsis

type SetComicSynopsis struct {
	LanguageID   *uint    `form:"languageID" json:"languageID"`
	LanguageIETF *string  `form:"languageIETF" json:"languageIETF"`
	RID          *string  `form:"rid" json:"rid"`
	Romanized    *bool    `form:"version" json:"romanized"`
	SetNull      []string `form:"setNull,omitempty" json:"setNull,omitempty"`
	Synopsis     *string  `form:"synopsis" json:"synopsis"`
	Version      *string  `form:"version" json:"version"`
}

SetComicSynopsis defines model for SetComicSynopsis.

type SetComicTag

type SetComicTag struct {
	TagCode     *string `form:"tagCode" json:"tagCode"`
	TagID       *uint   `form:"tagID" json:"tagID"`
	TagTypeCode *string `form:"tagTypeCode" json:"tagTypeCode"`
	TagTypeID   *uint   `form:"tagTypeID" json:"tagTypeID"`
}

SetComicTag defines model for SetComicTag.

type SetComicTitle

type SetComicTitle struct {
	LanguageID   *uint    `form:"languageID" json:"languageID"`
	LanguageIETF *string  `form:"languageIETF" json:"languageIETF"`
	RID          *string  `form:"rid" json:"rid"`
	Romanized    *bool    `form:"romanized" json:"romanized"`
	SetNull      []string `form:"setNull,omitempty" json:"setNull,omitempty"`
	Synonym      *bool    `form:"synonym" json:"synonym"`
	Title        *string  `form:"title" json:"title"`
}

SetComicTitle defines model for SetComicTitle.

type SetGenericType

type SetGenericType struct {
	Code *string `form:"code" json:"code"`
	Name *string `form:"name" json:"name"`
}

SetGenericType defines model for SetGenericType.

type SetLanguage

type SetLanguage struct {
	IETF *string `form:"ietf" json:"ietf"`
	Name *string `form:"name" json:"name"`
}

SetLanguage defines model for SetLanguage.

type SetTag

type SetTag struct {
	Code     *string `form:"code" json:"code"`
	Name     *string `form:"name" json:"name"`
	TypeCode *string `form:"typeCode" json:"typeCode"`
	TypeID   *uint   `form:"typeID" json:"typeID"`
}

SetTag defines model for SetTag.

type SetWebsite

type SetWebsite struct {
	Domain *string `form:"domain" json:"domain"`
	Name   *string `form:"name" json:"name"`
}

SetWebsite defines model for SetWebsite.

type Tag

type Tag struct {
	Code      string     `json:"code"`
	CreatedAt time.Time  `json:"createdAt"`
	ID        uint       `json:"id"`
	Name      string     `json:"name"`
	TypeCode  string     `json:"typeCode"`
	TypeID    uint       `json:"typeID"`
	UpdatedAt *time.Time `json:"updatedAt"`
}

Tag defines model for Tag.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) AddCategory

func (_ Unimplemented) AddCategory(w http.ResponseWriter, r *http.Request)

Add category. (POST /categories)

func (Unimplemented) AddCategoryRelation

func (_ Unimplemented) AddCategoryRelation(w http.ResponseWriter, r *http.Request, typeID uint, code string)

Add category relation. (POST /categories/{typeID}-{code}/relations)

func (Unimplemented) AddCategoryType

func (_ Unimplemented) AddCategoryType(w http.ResponseWriter, r *http.Request)

Add category type. (POST /types/categories)

func (Unimplemented) AddComic

func (_ Unimplemented) AddComic(w http.ResponseWriter, r *http.Request)

Add comic. (POST /comics)

func (Unimplemented) AddComicCategory

func (_ Unimplemented) AddComicCategory(w http.ResponseWriter, r *http.Request, code string)

Add comic category. (POST /comics/{code}/categories)

func (Unimplemented) AddComicChapter

func (_ Unimplemented) AddComicChapter(w http.ResponseWriter, r *http.Request, code string)

Add comic chapter. (POST /comics/{code}/chapters)

func (Unimplemented) AddComicCover

func (_ Unimplemented) AddComicCover(w http.ResponseWriter, r *http.Request, code string)

Add comic cover. (POST /comics/{code}/covers)

func (Unimplemented) AddComicExternal

func (_ Unimplemented) AddComicExternal(w http.ResponseWriter, r *http.Request, code string)

Add comic external. (POST /comics/{code}/externals)

func (Unimplemented) AddComicRelation

func (_ Unimplemented) AddComicRelation(w http.ResponseWriter, r *http.Request, code string)

Add comic relation. (POST /comics/{code}/relations)

func (Unimplemented) AddComicRelationType

func (_ Unimplemented) AddComicRelationType(w http.ResponseWriter, r *http.Request)

Add comic relation type. (POST /types/comic-relations)

func (Unimplemented) AddComicSynopsis

func (_ Unimplemented) AddComicSynopsis(w http.ResponseWriter, r *http.Request, code string)

Add comic synopsis. (POST /comics/{code}/synopses)

func (Unimplemented) AddComicTag

func (_ Unimplemented) AddComicTag(w http.ResponseWriter, r *http.Request, code string)

Add comic tag. (POST /comics/{code}/tags)

func (Unimplemented) AddComicTitle

func (_ Unimplemented) AddComicTitle(w http.ResponseWriter, r *http.Request, code string)

Add comic title. (POST /comics/{code}/titles)

func (Unimplemented) AddLanguage

func (_ Unimplemented) AddLanguage(w http.ResponseWriter, r *http.Request)

Add language. (POST /languages)

func (Unimplemented) AddTag

func (_ Unimplemented) AddTag(w http.ResponseWriter, r *http.Request)

Add tag. (POST /tags)

func (Unimplemented) AddTagType

func (_ Unimplemented) AddTagType(w http.ResponseWriter, r *http.Request)

Add tag type. (POST /types/tags)

func (Unimplemented) AddWebsite

func (_ Unimplemented) AddWebsite(w http.ResponseWriter, r *http.Request)

Add website. (POST /websites)

func (Unimplemented) DeleteCategory

func (_ Unimplemented) DeleteCategory(w http.ResponseWriter, r *http.Request, typeID uint, code string)

Delete category. (DELETE /categories/{typeID}-{code})

func (Unimplemented) DeleteCategoryRelation

func (_ Unimplemented) DeleteCategoryRelation(w http.ResponseWriter, r *http.Request, typeID uint, code string, categoryCode string)

Delete category relation. (DELETE /categories/{typeID}-{code}/relations/{categoryCode})

func (Unimplemented) DeleteCategoryType

func (_ Unimplemented) DeleteCategoryType(w http.ResponseWriter, r *http.Request, code string)

Delete category type. (DELETE /types/categories/{code})

func (Unimplemented) DeleteComic

func (_ Unimplemented) DeleteComic(w http.ResponseWriter, r *http.Request, code string)

Delete comic. (DELETE /comics/{code})

func (Unimplemented) DeleteComicCategory

func (_ Unimplemented) DeleteComicCategory(w http.ResponseWriter, r *http.Request, code string, typeID uint, categoryCode string)

Delete comic category. (DELETE /comics/{code}/categories/{typeID}-{categoryCode})

func (Unimplemented) DeleteComicChapter

func (_ Unimplemented) DeleteComicChapter(w http.ResponseWriter, r *http.Request, code string, cv string)

Delete comic chapter. (DELETE /comics/{code}/chapters/{cv})

func (Unimplemented) DeleteComicCover

func (_ Unimplemented) DeleteComicCover(w http.ResponseWriter, r *http.Request, code string, rid string)

Delete comic cover. (DELETE /comics/{code}/covers/{rid})

func (Unimplemented) DeleteComicExternal

func (_ Unimplemented) DeleteComicExternal(w http.ResponseWriter, r *http.Request, code string, rid string)

Delete comic external. (DELETE /comics/{code}/externals/{rid})

func (Unimplemented) DeleteComicRelation

func (_ Unimplemented) DeleteComicRelation(w http.ResponseWriter, r *http.Request, code string, typeID uint, comicCode string)

Delete comic relation. (DELETE /comics/{code}/relations/{typeID}-{comicCode})

func (Unimplemented) DeleteComicRelationType

func (_ Unimplemented) DeleteComicRelationType(w http.ResponseWriter, r *http.Request, code string)

Delete comic relation type. (DELETE /types/comic-relations/{code})

func (Unimplemented) DeleteComicSynopsis

func (_ Unimplemented) DeleteComicSynopsis(w http.ResponseWriter, r *http.Request, code string, rid string)

Delete comic synopsis. (DELETE /comics/{code}/synopses/{rid})

func (Unimplemented) DeleteComicTag

func (_ Unimplemented) DeleteComicTag(w http.ResponseWriter, r *http.Request, code string, typeID uint, tagCode string)

Delete comic tag. (DELETE /comics/{code}/tags/{typeID}-{tagCode})

func (Unimplemented) DeleteComicTitle

func (_ Unimplemented) DeleteComicTitle(w http.ResponseWriter, r *http.Request, code string, rid string)

Delete comic title. (DELETE /comics/{code}/titles/{rid})

func (Unimplemented) DeleteLanguage

func (_ Unimplemented) DeleteLanguage(w http.ResponseWriter, r *http.Request, ietf string)

Delete language. (DELETE /languages/{ietf})

func (Unimplemented) DeleteTag

func (_ Unimplemented) DeleteTag(w http.ResponseWriter, r *http.Request, typeID uint, code string)

Delete tag. (DELETE /tags/{typeID}-{code})

func (Unimplemented) DeleteTagType

func (_ Unimplemented) DeleteTagType(w http.ResponseWriter, r *http.Request, code string)

Delete tag type. (DELETE /types/tags/{code})

func (Unimplemented) DeleteWebsite

func (_ Unimplemented) DeleteWebsite(w http.ResponseWriter, r *http.Request, domain string)

Delete website. (DELETE /websites/{domain})

func (Unimplemented) GetCategory

func (_ Unimplemented) GetCategory(w http.ResponseWriter, r *http.Request, typeID uint, code string)

Get category. (GET /categories/{typeID}-{code})

func (Unimplemented) GetCategoryRelation

func (_ Unimplemented) GetCategoryRelation(w http.ResponseWriter, r *http.Request, typeID uint, code string, categoryCode string)

Get category relation. (GET /categories/{typeID}-{code}/relations/{categoryCode})

func (Unimplemented) GetCategoryType

func (_ Unimplemented) GetCategoryType(w http.ResponseWriter, r *http.Request, code string)

Get category type. (GET /types/categories/{code})

func (Unimplemented) GetComic

func (_ Unimplemented) GetComic(w http.ResponseWriter, r *http.Request, code string)

Get comic. (GET /comics/{code})

func (Unimplemented) GetComicCategory

func (_ Unimplemented) GetComicCategory(w http.ResponseWriter, r *http.Request, code string, typeID uint, categoryCode string)

Get comic category. (GET /comics/{code}/categories/{typeID}-{categoryCode})

func (Unimplemented) GetComicChapter

func (_ Unimplemented) GetComicChapter(w http.ResponseWriter, r *http.Request, code string, cv string)

Get comic chapter. (GET /comics/{code}/chapters/{cv})

func (Unimplemented) GetComicCover

func (_ Unimplemented) GetComicCover(w http.ResponseWriter, r *http.Request, code string, rid string)

Get comic cover. (GET /comics/{code}/covers/{rid})

func (Unimplemented) GetComicExternal

func (_ Unimplemented) GetComicExternal(w http.ResponseWriter, r *http.Request, code string, rid string)

Get comic external. (GET /comics/{code}/externals/{rid})

func (Unimplemented) GetComicRelation

func (_ Unimplemented) GetComicRelation(w http.ResponseWriter, r *http.Request, code string, typeID uint, comicCode string)

Get comic relation. (GET /comics/{code}/relations/{typeID}-{comicCode})

func (Unimplemented) GetComicRelationType

func (_ Unimplemented) GetComicRelationType(w http.ResponseWriter, r *http.Request, code string)

Get comic relation type. (GET /types/comic-relations/{code})

func (Unimplemented) GetComicSynopsis

func (_ Unimplemented) GetComicSynopsis(w http.ResponseWriter, r *http.Request, code string, rid string)

Get comic synopsis. (GET /comics/{code}/synopses/{rid})

func (Unimplemented) GetComicTag

func (_ Unimplemented) GetComicTag(w http.ResponseWriter, r *http.Request, code string, typeID uint, tagCode string)

Get comic tag. (GET /comics/{code}/tags/{typeID}-{tagCode})

func (Unimplemented) GetComicTitle

func (_ Unimplemented) GetComicTitle(w http.ResponseWriter, r *http.Request, code string, rid string)

Get comic title. (GET /comics/{code}/titles/{rid})

func (Unimplemented) GetLanguage

func (_ Unimplemented) GetLanguage(w http.ResponseWriter, r *http.Request, ietf string)

Get language. (GET /languages/{ietf})

func (Unimplemented) GetTag

func (_ Unimplemented) GetTag(w http.ResponseWriter, r *http.Request, typeID uint, code string)

Get tag. (GET /tags/{typeID}-{code})

func (Unimplemented) GetTagType

func (_ Unimplemented) GetTagType(w http.ResponseWriter, r *http.Request, code string)

Get tag type. (GET /types/tags/{code})

func (Unimplemented) GetWebsite

func (_ Unimplemented) GetWebsite(w http.ResponseWriter, r *http.Request, domain string)

Get website. (GET /websites/{domain})

func (Unimplemented) ListCategory

func (_ Unimplemented) ListCategory(w http.ResponseWriter, r *http.Request, params ListCategoryParams)

List category. (GET /categories)

func (Unimplemented) ListCategoryType

func (_ Unimplemented) ListCategoryType(w http.ResponseWriter, r *http.Request, params ListCategoryTypeParams)

List category type. (GET /types/categories)

func (Unimplemented) ListComic

func (_ Unimplemented) ListComic(w http.ResponseWriter, r *http.Request, params ListComicParams)

List comic. (GET /comics)

func (Unimplemented) ListComicChapter

func (_ Unimplemented) ListComicChapter(w http.ResponseWriter, r *http.Request, code string, params ListComicChapterParams)

List comic chapter. (GET /comics/{code}/chapters)

func (Unimplemented) ListComicRelationType

func (_ Unimplemented) ListComicRelationType(w http.ResponseWriter, r *http.Request, params ListComicRelationTypeParams)

List comic relation type. (GET /types/comic-relations)

func (Unimplemented) ListLanguage

func (_ Unimplemented) ListLanguage(w http.ResponseWriter, r *http.Request, params ListLanguageParams)

List language. (GET /languages)

func (Unimplemented) ListTag

func (_ Unimplemented) ListTag(w http.ResponseWriter, r *http.Request, params ListTagParams)

List tag. (GET /tags)

func (Unimplemented) ListTagType

func (_ Unimplemented) ListTagType(w http.ResponseWriter, r *http.Request, params ListTagTypeParams)

List tag type. (GET /types/tags)

func (Unimplemented) ListWebsite

func (_ Unimplemented) ListWebsite(w http.ResponseWriter, r *http.Request, params ListWebsiteParams)

List website. (GET /websites)

func (Unimplemented) UpdateCategory

func (_ Unimplemented) UpdateCategory(w http.ResponseWriter, r *http.Request, typeID uint, code string)

Update category. (PATCH /categories/{typeID}-{code})

func (Unimplemented) UpdateCategoryRelation

func (_ Unimplemented) UpdateCategoryRelation(w http.ResponseWriter, r *http.Request, typeID uint, code string, categoryCode string)

Update category relation. (PATCH /categories/{typeID}-{code}/relations/{categoryCode})

func (Unimplemented) UpdateCategoryType

func (_ Unimplemented) UpdateCategoryType(w http.ResponseWriter, r *http.Request, code string)

Update category type. (PATCH /types/categories/{code})

func (Unimplemented) UpdateComic

func (_ Unimplemented) UpdateComic(w http.ResponseWriter, r *http.Request, code string)

Update comic. (PATCH /comics/{code})

func (Unimplemented) UpdateComicCategory

func (_ Unimplemented) UpdateComicCategory(w http.ResponseWriter, r *http.Request, code string, typeID uint, categoryCode string)

Update comic category. (PATCH /comics/{code}/categories/{typeID}-{categoryCode})

func (Unimplemented) UpdateComicChapter

func (_ Unimplemented) UpdateComicChapter(w http.ResponseWriter, r *http.Request, code string, cv string)

Update comic chapter. (PATCH /comics/{code}/chapters/{cv})

func (Unimplemented) UpdateComicCover

func (_ Unimplemented) UpdateComicCover(w http.ResponseWriter, r *http.Request, code string, rid string)

Update comic cover. (PATCH /comics/{code}/covers/{rid})

func (Unimplemented) UpdateComicExternal

func (_ Unimplemented) UpdateComicExternal(w http.ResponseWriter, r *http.Request, code string, rid string)

Update comic external. (PATCH /comics/{code}/externals/{rid})

func (Unimplemented) UpdateComicRelation

func (_ Unimplemented) UpdateComicRelation(w http.ResponseWriter, r *http.Request, code string, typeID uint, comicCode string)

Update comic relation. (PATCH /comics/{code}/relations/{typeID}-{comicCode})

func (Unimplemented) UpdateComicRelationType

func (_ Unimplemented) UpdateComicRelationType(w http.ResponseWriter, r *http.Request, code string)

Update comic relation type. (PATCH /types/comic-relations/{code})

func (Unimplemented) UpdateComicSynopsis

func (_ Unimplemented) UpdateComicSynopsis(w http.ResponseWriter, r *http.Request, code string, rid string)

Update comic synopsis. (PATCH /comics/{code}/synopses/{rid})

func (Unimplemented) UpdateComicTag

func (_ Unimplemented) UpdateComicTag(w http.ResponseWriter, r *http.Request, code string, typeID uint, tagCode string)

Update comic tag. (PATCH /comics/{code}/tags/{typeID}-{tagCode})

func (Unimplemented) UpdateComicTitle

func (_ Unimplemented) UpdateComicTitle(w http.ResponseWriter, r *http.Request, code string, rid string)

Update comic title. (PATCH /comics/{code}/titles/{rid})

func (Unimplemented) UpdateLanguage

func (_ Unimplemented) UpdateLanguage(w http.ResponseWriter, r *http.Request, ietf string)

Update language. (PATCH /languages/{ietf})

func (Unimplemented) UpdateTag

func (_ Unimplemented) UpdateTag(w http.ResponseWriter, r *http.Request, typeID uint, code string)

Update tag. (PATCH /tags/{typeID}-{code})

func (Unimplemented) UpdateTagType

func (_ Unimplemented) UpdateTagType(w http.ResponseWriter, r *http.Request, code string)

Update tag type. (PATCH /types/tags/{code})

func (Unimplemented) UpdateWebsite

func (_ Unimplemented) UpdateWebsite(w http.ResponseWriter, r *http.Request, domain string)

Update website. (PATCH /websites/{domain})

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateCategoryFormdataRequestBody

type UpdateCategoryFormdataRequestBody = SetCategory

UpdateCategoryFormdataRequestBody defines body for UpdateCategory for application/x-www-form-urlencoded ContentType.

type UpdateCategoryJSONRequestBody

type UpdateCategoryJSONRequestBody = SetCategory

UpdateCategoryJSONRequestBody defines body for UpdateCategory for application/json ContentType.

type UpdateCategoryRelationFormdataRequestBody

type UpdateCategoryRelationFormdataRequestBody = SetCategoryRelation

UpdateCategoryRelationFormdataRequestBody defines body for UpdateCategoryRelation for application/x-www-form-urlencoded ContentType.

type UpdateCategoryRelationJSONRequestBody

type UpdateCategoryRelationJSONRequestBody = SetCategoryRelation

UpdateCategoryRelationJSONRequestBody defines body for UpdateCategoryRelation for application/json ContentType.

type UpdateCategoryTypeFormdataRequestBody

type UpdateCategoryTypeFormdataRequestBody = SetGenericType

UpdateCategoryTypeFormdataRequestBody defines body for UpdateCategoryType for application/x-www-form-urlencoded ContentType.

type UpdateCategoryTypeJSONRequestBody

type UpdateCategoryTypeJSONRequestBody = SetGenericType

UpdateCategoryTypeJSONRequestBody defines body for UpdateCategoryType for application/json ContentType.

type UpdateComicCategoryFormdataRequestBody

type UpdateComicCategoryFormdataRequestBody = SetComicCategory

UpdateComicCategoryFormdataRequestBody defines body for UpdateComicCategory for application/x-www-form-urlencoded ContentType.

type UpdateComicCategoryJSONRequestBody

type UpdateComicCategoryJSONRequestBody = SetComicCategory

UpdateComicCategoryJSONRequestBody defines body for UpdateComicCategory for application/json ContentType.

type UpdateComicChapterFormdataRequestBody

type UpdateComicChapterFormdataRequestBody = SetComicChapter

UpdateComicChapterFormdataRequestBody defines body for UpdateComicChapter for application/x-www-form-urlencoded ContentType.

type UpdateComicChapterJSONRequestBody

type UpdateComicChapterJSONRequestBody = SetComicChapter

UpdateComicChapterJSONRequestBody defines body for UpdateComicChapter for application/json ContentType.

type UpdateComicCoverFormdataRequestBody

type UpdateComicCoverFormdataRequestBody = SetComicCover

UpdateComicCoverFormdataRequestBody defines body for UpdateComicCover for application/x-www-form-urlencoded ContentType.

type UpdateComicCoverJSONRequestBody

type UpdateComicCoverJSONRequestBody = SetComicCover

UpdateComicCoverJSONRequestBody defines body for UpdateComicCover for application/json ContentType.

type UpdateComicExternalFormdataRequestBody

type UpdateComicExternalFormdataRequestBody = SetComicExternal

UpdateComicExternalFormdataRequestBody defines body for UpdateComicExternal for application/x-www-form-urlencoded ContentType.

type UpdateComicExternalJSONRequestBody

type UpdateComicExternalJSONRequestBody = SetComicExternal

UpdateComicExternalJSONRequestBody defines body for UpdateComicExternal for application/json ContentType.

type UpdateComicFormdataRequestBody

type UpdateComicFormdataRequestBody = SetComic

UpdateComicFormdataRequestBody defines body for UpdateComic for application/x-www-form-urlencoded ContentType.

type UpdateComicJSONRequestBody

type UpdateComicJSONRequestBody = SetComic

UpdateComicJSONRequestBody defines body for UpdateComic for application/json ContentType.

type UpdateComicRelationFormdataRequestBody

type UpdateComicRelationFormdataRequestBody = SetComicRelation

UpdateComicRelationFormdataRequestBody defines body for UpdateComicRelation for application/x-www-form-urlencoded ContentType.

type UpdateComicRelationJSONRequestBody

type UpdateComicRelationJSONRequestBody = SetComicRelation

UpdateComicRelationJSONRequestBody defines body for UpdateComicRelation for application/json ContentType.

type UpdateComicRelationTypeFormdataRequestBody

type UpdateComicRelationTypeFormdataRequestBody = SetGenericType

UpdateComicRelationTypeFormdataRequestBody defines body for UpdateComicRelationType for application/x-www-form-urlencoded ContentType.

type UpdateComicRelationTypeJSONRequestBody

type UpdateComicRelationTypeJSONRequestBody = SetGenericType

UpdateComicRelationTypeJSONRequestBody defines body for UpdateComicRelationType for application/json ContentType.

type UpdateComicSynopsisFormdataRequestBody

type UpdateComicSynopsisFormdataRequestBody = SetComicSynopsis

UpdateComicSynopsisFormdataRequestBody defines body for UpdateComicSynopsis for application/x-www-form-urlencoded ContentType.

type UpdateComicSynopsisJSONRequestBody

type UpdateComicSynopsisJSONRequestBody = SetComicSynopsis

UpdateComicSynopsisJSONRequestBody defines body for UpdateComicSynopsis for application/json ContentType.

type UpdateComicTagFormdataRequestBody

type UpdateComicTagFormdataRequestBody = SetComicTag

UpdateComicTagFormdataRequestBody defines body for UpdateComicTag for application/x-www-form-urlencoded ContentType.

type UpdateComicTagJSONRequestBody

type UpdateComicTagJSONRequestBody = SetComicTag

UpdateComicTagJSONRequestBody defines body for UpdateComicTag for application/json ContentType.

type UpdateComicTitleFormdataRequestBody

type UpdateComicTitleFormdataRequestBody = SetComicTitle

UpdateComicTitleFormdataRequestBody defines body for UpdateComicTitle for application/x-www-form-urlencoded ContentType.

type UpdateComicTitleJSONRequestBody

type UpdateComicTitleJSONRequestBody = SetComicTitle

UpdateComicTitleJSONRequestBody defines body for UpdateComicTitle for application/json ContentType.

type UpdateLanguageFormdataRequestBody

type UpdateLanguageFormdataRequestBody = SetLanguage

UpdateLanguageFormdataRequestBody defines body for UpdateLanguage for application/x-www-form-urlencoded ContentType.

type UpdateLanguageJSONRequestBody

type UpdateLanguageJSONRequestBody = SetLanguage

UpdateLanguageJSONRequestBody defines body for UpdateLanguage for application/json ContentType.

type UpdateTagFormdataRequestBody

type UpdateTagFormdataRequestBody = SetTag

UpdateTagFormdataRequestBody defines body for UpdateTag for application/x-www-form-urlencoded ContentType.

type UpdateTagJSONRequestBody

type UpdateTagJSONRequestBody = SetTag

UpdateTagJSONRequestBody defines body for UpdateTag for application/json ContentType.

type UpdateTagTypeFormdataRequestBody

type UpdateTagTypeFormdataRequestBody = SetGenericType

UpdateTagTypeFormdataRequestBody defines body for UpdateTagType for application/x-www-form-urlencoded ContentType.

type UpdateTagTypeJSONRequestBody

type UpdateTagTypeJSONRequestBody = SetGenericType

UpdateTagTypeJSONRequestBody defines body for UpdateTagType for application/json ContentType.

type UpdateWebsiteFormdataRequestBody

type UpdateWebsiteFormdataRequestBody = SetWebsite

UpdateWebsiteFormdataRequestBody defines body for UpdateWebsite for application/x-www-form-urlencoded ContentType.

type UpdateWebsiteJSONRequestBody

type UpdateWebsiteJSONRequestBody = SetWebsite

UpdateWebsiteJSONRequestBody defines body for UpdateWebsite for application/json ContentType.

type Website

type Website struct {
	CreatedAt time.Time  `json:"createdAt"`
	Domain    string     `json:"domain"`
	ID        uint       `json:"id"`
	Name      string     `json:"name"`
	UpdatedAt *time.Time `json:"updatedAt"`
}

Website defines model for Website.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL