backup

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFunc

func HandleFunc(T ITemplate, o *cms.Options) func(http.ResponseWriter, *http.Request)

Types

type Backup

type Backup struct {
	Paths []string
}

func New

func New(Paths interface{}) *Backup

func (Backup) Write

func (Backup Backup) Write(w http.ResponseWriter) error

type ITemplate

type ITemplate interface {
	ExecuteTemplate(wr io.Writer, name string, data interface{}) error
}

Jump to

Keyboard shortcuts

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