Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPHandler ¶
HTTPHandler returns the http.Handler for the web management api
Types ¶
type Context ¶
type Context struct { App *evepraisal.App AppraisalBackupPath string }
Context is the context that the web management needs
func (*Context) HandleBackup ¶
func (ctx *Context) HandleBackup(w http.ResponseWriter, req *http.Request)
HandleBackup is the handler for /backup/appraisals
func (*Context) HandleBackupToFile ¶
func (ctx *Context) HandleBackupToFile(w http.ResponseWriter, req *http.Request)
HandleBackupToFile is the handler for /backup/appraisals
func (*Context) HandleRestore ¶
func (ctx *Context) HandleRestore(w http.ResponseWriter, r *http.Request)
HandleRestore is the handler for /restore, this is only used for partial restores
Click to show internal directories.
Click to hide internal directories.