Documentation ¶
Index ¶
- Variables
- type Handler
- func (h Handler) CreatePersonalAccessToken(c *fiber.Ctx) error
- func (h Handler) DeletePersonalAccessToken(c *fiber.Ctx) error
- func (h Handler) GetCharacterComments(c *fiber.Ctx) error
- func (h Handler) GetCharacterRevision(c *fiber.Ctx) error
- func (h Handler) GetEpisode(c *fiber.Ctx) error
- func (h Handler) GetEpisodeComments(c *fiber.Ctx) error
- func (h Handler) GetGroupProfileByNamePrivate(c *fiber.Ctx) error
- func (h Handler) GetGroupTopic(c *fiber.Ctx) error
- func (h Handler) GetIndex(c *fiber.Ctx) error
- func (h Handler) GetIndexComments(c *fiber.Ctx) error
- func (h Handler) GetIndexSubjects(c *fiber.Ctx) error
- func (h Handler) GetPersonComments(c *fiber.Ctx) error
- func (h Handler) GetPersonRevision(c *fiber.Ctx) error
- func (h Handler) GetSubjectRevision(c *fiber.Ctx) error
- func (h Handler) GetSubjectTopic(c *fiber.Ctx) error
- func (h Handler) ListCharacterRevision(c *fiber.Ctx) error
- func (h Handler) ListEpisode(c *fiber.Ctx) error
- func (h Handler) ListGroupMembersPrivate(c *fiber.Ctx) error
- func (h Handler) ListGroupTopics(c *fiber.Ctx) error
- func (h Handler) ListPersonRevision(c *fiber.Ctx) error
- func (h Handler) ListSubjectRevision(c *fiber.Ctx) error
- func (h Handler) ListSubjectTopics(c *fiber.Ctx) error
- func (h Handler) PageCreateAccessToken(c *fiber.Ctx) error
- func (h Handler) PageListAccessToken(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
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Handler ¶
func New ¶
func New( common common.Common, a domain.AuthService, r domain.RevisionRepo, g domain.GroupRepo, index domain.IndexRepo, cache cache.Cache, ctrl ctrl.Ctrl, captcha captcha.Manager, session session.Manager, rateLimit rate.Manager, log *zap.Logger, engine frontend.TemplateEngine, oauth oauth.Manager, ) Handler
func (Handler) CreatePersonalAccessToken ¶ added in v0.18.0
func (Handler) DeletePersonalAccessToken ¶ added in v0.18.0
func (Handler) GetCharacterComments ¶ added in v0.22.0
func (Handler) GetCharacterRevision ¶
func (Handler) GetEpisode ¶
func (Handler) GetEpisodeComments ¶ added in v0.22.0
func (Handler) GetGroupProfileByNamePrivate ¶ added in v0.20.9
func (Handler) GetGroupTopic ¶ added in v0.22.0
func (Handler) GetIndexComments ¶ added in v0.22.0
func (Handler) GetIndexSubjects ¶
func (Handler) GetPersonComments ¶ added in v0.22.0
func (Handler) GetPersonRevision ¶
func (Handler) GetSubjectRevision ¶
func (Handler) GetSubjectTopic ¶ added in v0.22.0
func (Handler) ListCharacterRevision ¶
func (Handler) ListEpisode ¶
func (Handler) ListGroupMembersPrivate ¶ added in v0.20.9
func (Handler) ListGroupTopics ¶ added in v0.22.0
func (Handler) ListPersonRevision ¶
func (Handler) ListSubjectRevision ¶
func (Handler) ListSubjectTopics ¶ added in v0.22.0
func (Handler) PageCreateAccessToken ¶ added in v0.18.0
func (Handler) PageListAccessToken ¶ added in v0.18.0
PageListAccessToken 直接调用了 `query.Query`。 因为这只是个demo网页,在后续重构为 api 的时候仍然应该替换为 service 。
func (Handler) PrivateLogin ¶
func (Handler) PrivateLogout ¶
func (Handler) RevokeSession ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.