handler

package
v0.10.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const CacheDuration = 300

Variables

This section is empty.

Functions

func CastPersonData

func CastPersonData(raw map[string]interface{}) map[string]res.PersonRevisionDataItem

func SafeDecodeExtra

func SafeDecodeExtra(k1 reflect.Type, k2 reflect.Type, input interface{}) (interface{}, error)

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (Handler) GetCharacter

func (h Handler) GetCharacter(c *fiber.Ctx) error

func (Handler) GetCharacterRelatedPersons

func (h Handler) GetCharacterRelatedPersons(c *fiber.Ctx) error

func (Handler) GetCharacterRelatedSubjects

func (h Handler) GetCharacterRelatedSubjects(c *fiber.Ctx) error

func (Handler) GetCurrentUser

func (h Handler) GetCurrentUser(c *fiber.Ctx) error

func (Handler) GetEpisode

func (h Handler) GetEpisode(c *fiber.Ctx) error

func (Handler) GetIndex

func (h Handler) GetIndex(c *fiber.Ctx) error

func (Handler) GetIndexSubjects

func (h Handler) GetIndexSubjects(c *fiber.Ctx) error

func (Handler) GetPerson

func (h Handler) GetPerson(c *fiber.Ctx) error

func (Handler) GetPersonRelatedCharacters

func (h Handler) GetPersonRelatedCharacters(c *fiber.Ctx) error

func (Handler) GetPersonRelatedSubjects

func (h Handler) GetPersonRelatedSubjects(c *fiber.Ctx) error

func (Handler) GetPersonRevision added in v0.10.1

func (h Handler) GetPersonRevision(c *fiber.Ctx) error

func (Handler) GetSubject

func (h Handler) GetSubject(c *fiber.Ctx) error

func (Handler) GetSubjectRelatedCharacters

func (h Handler) GetSubjectRelatedCharacters(c *fiber.Ctx) error

func (Handler) GetSubjectRelatedPersons

func (h Handler) GetSubjectRelatedPersons(c *fiber.Ctx) error

func (Handler) GetSubjectRelatedSubjects

func (h Handler) GetSubjectRelatedSubjects(c *fiber.Ctx) error

func (Handler) ListCollection

func (h Handler) ListCollection(c *fiber.Ctx) error

func (Handler) ListEpisode

func (h Handler) ListEpisode(c *fiber.Ctx) error

func (Handler) ListPersonRevision added in v0.10.1

func (h Handler) ListPersonRevision(c *fiber.Ctx) error

func (Handler) MiddlewareAccessUser

func (h Handler) MiddlewareAccessUser() fiber.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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