Documentation ¶
Index ¶
- 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) GetCollection(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) PageLogin(c *fiber.Ctx) error
- func (h Handler) PrivateLogin(c *fiber.Ctx) error
- func (h Handler) PrivateLogout(c *fiber.Ctx) error
- func (h Handler) RevokeSession(c *fiber.Ctx) error
- func (h Handler) SessionAuthMiddleware(c *fiber.Ctx) error
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 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, engine frontend.TemplateEngine, ) (Handler, error)
func (Handler) AccessTokenAuthMiddleware ¶
func (Handler) GetCharacter ¶
func (Handler) GetCharacterRelatedPersons ¶
func (Handler) GetCharacterRelatedSubjects ¶
func (Handler) GetCharacterRevision ¶
func (Handler) GetCollection ¶
func (Handler) GetCurrentUser ¶
func (Handler) GetEpisode ¶
func (Handler) GetIndexSubjects ¶
func (Handler) GetPersonRelatedCharacters ¶
func (Handler) GetPersonRelatedSubjects ¶
func (Handler) GetPersonRevision ¶
func (Handler) GetSubject ¶
func (Handler) GetSubjectRelatedCharacters ¶
func (Handler) GetSubjectRelatedPersons ¶
func (Handler) GetSubjectRelatedSubjects ¶
func (Handler) GetSubjectRevision ¶
func (Handler) ListCharacterRevision ¶
func (Handler) ListCollection ¶
func (Handler) ListEpisode ¶
func (Handler) ListPersonRevision ¶
func (Handler) ListSubjectRevision ¶
func (Handler) PrivateLogin ¶
func (Handler) PrivateLogout ¶
func (Handler) RevokeSession ¶
func (Handler) SessionAuthMiddleware ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.