Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHandlersInstance ¶ added in v0.2.8
GetHandlersInstance returns the global handlers instance and a boolean indicating if it's initialized
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a wrapper around the handlers package
func NewHandler ¶
func NewHandler(database *db.DB, scheduler *scheduler.Scheduler, jwtSecret string, dbPath string, backupDir string, cfg *config.Config) (*Handler, error)
NewHandler creates a new Handler instance that delegates to the handlers package
func (*Handler) InitializeRoutes ¶
InitializeRoutes delegates route registration to the handlers package
Click to show internal directories.
Click to hide internal directories.