system

package
v0.0.0-...-d885e2b Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(c *gin.Context)

Get used for get system status

func Package

func Package(c *gin.Context)

Package used for grab package system update

func Revert

func Revert(c *gin.Context)

Revert used for revert system to backup system

func Upgrade

func Upgrade(c *gin.Context)

Upgrade used for upgrade system version

Types

type FileParam

type FileParam struct {
	Filename string `db:"filename" json:"filename" binding:"required"`
}

FileParam used for revert system parameter

type System

type System struct {
	crud.System
}

System used as crud object

Jump to

Keyboard shortcuts

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