Documentation ¶
Overview ¶
Package backup implements data and database backups.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller for the backup service.
func New ¶
func New(cfg *config.BackupConfig, db *database.Database, h *render.Renderer) *Controller
New creates a new backup controller.
func (*Controller) HandleBackup ¶
func (c *Controller) HandleBackup() http.Handler
Click to show internal directories.
Click to hide internal directories.