v1

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupDelete

func BackupDelete(r render.Render, req *http.Request)

func BackupFileList

func BackupFileList(req *http.Request, params martini.Params, r render.Render)

func BackupInfo

func BackupInfo(r render.Render, params martini.Params)

func BackupJson

func BackupJson(r render.Render, req *http.Request)

func BackupRecover

func BackupRecover(r render.Render, req *http.Request, params martini.Params)

func CronAction

func CronAction(params martini.Params, r render.Render, req *http.Request)

func CronEntriesCount

func CronEntriesCount(r render.Render)

func CronEntriesGet

func CronEntriesGet(r render.Render, req *http.Request)

func CronEntriesSet

func CronEntriesSet(r render.Render, req *http.Request)

func CronEntryGet

func CronEntryGet(r render.Render, params martini.Params)

func CronOnce

func CronOnce(params martini.Params, r render.Render, req *http.Request)

func CrondStart

func CrondStart(r render.Render)

func CrondStop

func CrondStop(r render.Render)

func Debug

func Debug(r render.Render)

TODO add some more system info, move this feature to a independency lib

func GetNotifyAddr

func GetNotifyAddr(r render.Render)

func RemoveNotifyAddr

func RemoveNotifyAddr(r render.Render, req *http.Request)

func Router

func Router(r martini.Router)

func SetNotifyAddr

func SetNotifyAddr(r render.Render, req *http.Request)

Types

type FInfo

type FInfo struct {
	Name    string    `json:"name"`
	Size    int64     `json:"size"`
	ModTime time.Time `json:"mod_time"`
	Dir     bool      `json:"dir"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL