supervisor

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBackup

func AddBackup(c *gin.Context)

AddBackup 创建并且启动备份

func DeleteBackup added in v1.5.0

func DeleteBackup(c *gin.Context)

DeleteBackup 备份列表

func ListBackup added in v1.5.0

func ListBackup(c *gin.Context)

ListBackup 备份列表

func RegisterSupervisorRouter

func RegisterSupervisorRouter(r gin.IRouter)

func Restore

func Restore(c *gin.Context)

Restore 启动恢复

func Update added in v1.5.0

func Update(c *gin.Context)

Update 更新SA到新版

func UpdateInfo added in v1.5.0

func UpdateInfo(c *gin.Context)

UpdateInfo 查看更新信息

Types

type Backup added in v1.5.0

type Backup struct {
	FileName  string `json:"file_name"`
	Note      string `json:"note"`
	CreatedAt int64  `json:"created_at"`
}

Jump to

Keyboard shortcuts

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