Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Config *config.Config HTTPServer *http.Server Router *gin.Engine Template *template.Template AuthMiddleware *middleware.AuthMiddleware LogMiddleware *middleware.GinLoggerMiddleware RecoveryMiddleware *middleware.RecoveryMiddleware InstallRedirectMiddleware *middleware.InstallRedirectMiddleware OptionService service.OptionService ThemeService service.ThemeService SheetService service.SheetService AdminHandler *admin.AdminHandler AttachmentHandler *admin.AttachmentHandler BackupHandler *admin.BackupHandler CategoryHandler *admin.CategoryHandler InstallHandler *admin.InstallHandler JournalHandler *admin.JournalHandler JournalCommentHandler *admin.JournalCommentHandler LinkHandler *admin.LinkHandler LogHandler *admin.LogHandler MenuHandler *admin.MenuHandler OptionHandler *admin.OptionHandler PhotoHandler *admin.PhotoHandler PostHandler *admin.PostHandler PostCommentHandler *admin.PostCommentHandler SheetHandler *admin.SheetHandler SheetCommentHandler *admin.SheetCommentHandler StatisticHandler *admin.StatisticHandler TagHandler *admin.TagHandler ThemeHandler *admin.ThemeHandler UserHandler *admin.UserHandler EmailHandler *admin.EmailHandler IndexHandler *content.IndexHandler FeedHandler *content.FeedHandler ArchiveHandler *content.ArchiveHandler ViewHandler *content.ViewHandler ContentCategoryHandler *content.CategoryHandler ContentSheetHandler *content.SheetHandler ContentTagHandler *content.TagHandler ContentLinkHandler *content.LinkHandler ContentPhotoHandler *content.PhotoHandler ContentJournalHandler *content.JournalHandler ContentSearchHandler *content.SearchHandler ContentAPIArchiveHandler *api.ArchiveHandler ContentAPICategoryHandler *api.CategoryHandler ContentAPIJournalHandler *api.JournalHandler ContentAPILinkHandler *api.LinkHandler ContentAPIPostHandler *api.PostHandler ContentAPISheetHandler *api.SheetHandler ContentAPIOptionHandler *api.OptionHandler ContentAPIPhotoHandler *api.PhotoHandler // contains filtered or unexported fields }
func (*Server) RegisterRouters ¶
func (s *Server) RegisterRouters()
type ServerParams ¶
type ServerParams struct { dig.In Config *config.Config Logger *zap.Logger Event event.Bus Template *template.Template AuthMiddleware *middleware.AuthMiddleware LogMiddleware *middleware.GinLoggerMiddleware RecoveryMiddleware *middleware.RecoveryMiddleware InstallRedirectMiddleware *middleware.InstallRedirectMiddleware OptionService service.OptionService ThemeService service.ThemeService SheetService service.SheetService AdminHandler *admin.AdminHandler AttachmentHandler *admin.AttachmentHandler BackupHandler *admin.BackupHandler CategoryHandler *admin.CategoryHandler InstallHandler *admin.InstallHandler JournalHandler *admin.JournalHandler JournalCommentHandler *admin.JournalCommentHandler LinkHandler *admin.LinkHandler LogHandler *admin.LogHandler MenuHandler *admin.MenuHandler OptionHandler *admin.OptionHandler PhotoHandler *admin.PhotoHandler PostHandler *admin.PostHandler PostCommentHandler *admin.PostCommentHandler SheetHandler *admin.SheetHandler SheetCommentHandler *admin.SheetCommentHandler StatisticHandler *admin.StatisticHandler TagHandler *admin.TagHandler ThemeHandler *admin.ThemeHandler UserHandler *admin.UserHandler EmailHandler *admin.EmailHandler IndexHandler *content.IndexHandler FeedHandler *content.FeedHandler ArchiveHandler *content.ArchiveHandler ViewHandler *content.ViewHandler ContentCategoryHandler *content.CategoryHandler ContentSheetHandler *content.SheetHandler ContentTagHandler *content.TagHandler ContentLinkHandler *content.LinkHandler ContentPhotoHandler *content.PhotoHandler ContentJournalHandler *content.JournalHandler ContentSearchHandler *content.SearchHandler ContentAPIArchiveHandler *api.ArchiveHandler ContentAPICategoryHandler *api.CategoryHandler ContentAPIJournalHandler *api.JournalHandler ContentAPILinkHandler *api.LinkHandler ContentAPIPostHandler *api.PostHandler ContentAPISheetHandler *api.SheetHandler ContentAPIOptionHandler *api.OptionHandler ContentAPIPhotoHandler *api.PhotoHandler }
Click to show internal directories.
Click to hide internal directories.