Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MaintenanceModule ¶
type MaintenanceModule struct {
// contains filtered or unexported fields
}
func NewMaintenance ¶
func NewMaintenance() *MaintenanceModule
NewMaintenance returns a module that routes only static assets, and returns a code 503 maintenance message template to all other requests.
func (*MaintenanceModule) ETagCache ¶
func (m *MaintenanceModule) ETagCache() cache.Cache[string, eTagCacheEntry]
ETagCache implements withETagCache.
func (*MaintenanceModule) Route ¶
func (m *MaintenanceModule) Route(r *router.Router, mi ...gin.HandlerFunc)
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func New ¶
func New(db db.DB, processor *processing.Processor, cookiePolicy apiutil.CookiePolicy) *Module
func (*Module) Route ¶
func (m *Module) Route(r *router.Router, mi ...gin.HandlerFunc)
Route attaches the assets filesystem and profile, status, and other web handlers to the router.
func (*Module) SettingsPanelHandler ¶
Click to show internal directories.
Click to hide internal directories.