handler

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func (Handler) AccessTokenAuthMiddleware

func (h Handler) AccessTokenAuthMiddleware(ctx *fiber.Ctx) error

func (Handler) CreatePersonalAccessToken added in v0.18.0

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

func (Handler) DeletePersonalAccessToken added in v0.18.0

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

func (Handler) GetCharacter

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

func (Handler) GetCharacterImage added in v0.17.0

func (h Handler) GetCharacterImage(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) GetCharacterRevision

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

func (Handler) GetCollection

func (h Handler) GetCollection(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) GetPersonImage added in v0.17.0

func (h Handler) GetPersonImage(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

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

func (Handler) GetSubject

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

func (Handler) GetSubjectImage added in v0.17.0

func (h Handler) GetSubjectImage(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) GetSubjectRevision

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

func (Handler) GetUser

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

func (Handler) InternalServerError added in v0.19.0

func (h Handler) InternalServerError(c *fiber.Ctx, err error, message string) error

func (Handler) ListCharacterRevision

func (h Handler) ListCharacterRevision(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

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

func (Handler) ListSubjectRevision

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

func (Handler) PageCreateAccessToken added in v0.18.0

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

func (Handler) PageListAccessToken added in v0.18.0

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

PageListAccessToken 直接调用了 `query.Query`。 因为这只是个demo网页,在后续重构为 api 的时候仍然应该替换为 service 。

func (Handler) PageLogin added in v0.16.0

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

func (Handler) PrivateLogin

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

func (Handler) PrivateLogout

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

func (Handler) RevokeSession

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

func (Handler) SessionAuthMiddleware

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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