Documentation ¶
Index ¶
- Constants
- type Handler
- func (h Handler) AccessTokenAuthMiddleware(ctx *fiber.Ctx) error
- func (h Handler) GetCharacter(c *fiber.Ctx) error
- func (h Handler) GetCharacterRelatedPersons(c *fiber.Ctx) error
- func (h Handler) GetCharacterRelatedSubjects(c *fiber.Ctx) error
- func (h Handler) GetCharacterRevision(c *fiber.Ctx) error
- func (h Handler) GetCurrentUser(c *fiber.Ctx) error
- func (h Handler) GetEpisode(c *fiber.Ctx) error
- func (h Handler) GetIndex(c *fiber.Ctx) error
- func (h Handler) GetIndexSubjects(c *fiber.Ctx) error
- func (h Handler) GetPerson(c *fiber.Ctx) error
- func (h Handler) GetPersonRelatedCharacters(c *fiber.Ctx) error
- func (h Handler) GetPersonRelatedSubjects(c *fiber.Ctx) error
- func (h Handler) GetPersonRevision(c *fiber.Ctx) error
- func (h Handler) GetSubject(c *fiber.Ctx) error
- func (h Handler) GetSubjectRelatedCharacters(c *fiber.Ctx) error
- func (h Handler) GetSubjectRelatedPersons(c *fiber.Ctx) error
- func (h Handler) GetSubjectRelatedSubjects(c *fiber.Ctx) error
- func (h Handler) GetSubjectRevision(c *fiber.Ctx) error
- func (h Handler) GetUser(c *fiber.Ctx) error
- func (h Handler) ListCharacterRevision(c *fiber.Ctx) error
- func (h Handler) ListCollection(c *fiber.Ctx) error
- func (h Handler) ListEpisode(c *fiber.Ctx) error
- func (h Handler) ListPersonRevision(c *fiber.Ctx) error
- func (h Handler) ListSubjectRevision(c *fiber.Ctx) error
- func (h Handler) PrivateLogin(c *fiber.Ctx) error
- func (h Handler) RevokeSession(c *fiber.Ctx) error
- func (h Handler) SessionAuthMiddleware(c *fiber.Ctx) error
Constants ¶
View Source
const CacheDuration = 300
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New( cfg config.AppConfig, s domain.SubjectService, c domain.CharacterService, p domain.PersonService, a domain.AuthService, e domain.EpisodeRepo, r domain.RevisionRepo, index domain.IndexRepo, user domain.UserRepo, cache cache.Generic, captcha captcha.Manager, session session.Manager, rateLimit rate.Manager, log *zap.Logger, ) Handler
func (Handler) AccessTokenAuthMiddleware ¶ added in v0.12.12
func (Handler) GetCharacter ¶
func (Handler) GetCharacterRelatedPersons ¶
func (Handler) GetCharacterRelatedSubjects ¶
func (Handler) GetCharacterRevision ¶ added in v0.12.0
func (Handler) GetCurrentUser ¶
func (Handler) GetEpisode ¶
func (Handler) GetIndexSubjects ¶
func (Handler) GetPersonRelatedCharacters ¶
func (Handler) GetPersonRelatedSubjects ¶
func (Handler) GetPersonRevision ¶ added in v0.10.1
func (Handler) GetSubject ¶
func (Handler) GetSubjectRelatedCharacters ¶
func (Handler) GetSubjectRelatedPersons ¶
func (Handler) GetSubjectRelatedSubjects ¶
func (Handler) GetSubjectRevision ¶ added in v0.10.1
func (Handler) ListCharacterRevision ¶ added in v0.12.0
func (Handler) ListCollection ¶
func (Handler) ListEpisode ¶
func (Handler) ListPersonRevision ¶ added in v0.10.1
func (Handler) ListSubjectRevision ¶ added in v0.10.1
func (Handler) PrivateLogin ¶ added in v0.12.4
func (Handler) RevokeSession ¶ added in v0.12.4
func (Handler) SessionAuthMiddleware ¶ added in v0.12.12
Source Files ¶
Click to show internal directories.
Click to hide internal directories.