apis

package
v0.0.0-...-0ca0c55 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "2.0.12"

Variables

This section is empty.

Functions

func Accessible

func Accessible(c echo.Context) error

func AddCertificateInfo

func AddCertificateInfo(c echo.Context) error

func AddClientEvent

func AddClientEvent(c echo.Context) error

func AddConfigurationInfo

func AddConfigurationInfo(c echo.Context) error

func ChangeDockerStatus

func ChangeDockerStatus(c echo.Context) error

func ChangeLevel

func ChangeLevel(c echo.Context) error

func CheckOnline

func CheckOnline()

func CheckPower

func CheckPower(c echo.Context) error

func DeleteCertificateInfo

func DeleteCertificateInfo(c echo.Context) error

func DeleteConfigurationInfo

func DeleteConfigurationInfo(c echo.Context) error

func GetBackupFile

func GetBackupFile(c echo.Context) error

func GetCertificateInfo

func GetCertificateInfo(c echo.Context) error

func GetCertificateLinked

func GetCertificateLinked(c echo.Context) error

func GetConfigurationInfo

func GetConfigurationInfo(c echo.Context) error

func GetConfigurationLinked

func GetConfigurationLinked(c echo.Context) error

func GetNewToken

func GetNewToken(c echo.Context) error

func GetNow

func GetNow(c echo.Context) error

func GetServerEvents

func GetServerEvents(c echo.Context) error

func GetServerInfo

func GetServerInfo(c echo.Context) error

func GetServerUpdate

func GetServerUpdate(c echo.Context) error

func GetSetting

func GetSetting(c echo.Context) error

func GetSystemInfo

func GetSystemInfo(c echo.Context) error

func GetUserInfo

func GetUserInfo(c echo.Context) error

func GetUserList

func GetUserList(c echo.Context) error

func GetUserToken

func GetUserToken(c echo.Context) error

func LinkServerCer

func LinkServerCer(c echo.Context) error

func LinkServerConf

func LinkServerConf(c echo.Context) error

func OaLogin

func OaLogin(c echo.Context) error

func OaRegister

func OaRegister(c echo.Context) error

func ReSetPassword

func ReSetPassword(c echo.Context) error

func RemoveServer

func RemoveServer(c echo.Context) error

func ServerUpdate

func ServerUpdate(c echo.Context) error

func SetBackupFile

func SetBackupFile(c echo.Context) error

func SetSetting

func SetSetting(c echo.Context) error

func SetupServer

func SetupServer(c echo.Context) error

func SysRestart

func SysRestart(c echo.Context) error

func UnLinkServerCer

func UnLinkServerCer(c echo.Context) error

func UnLinkServerConf

func UnLinkServerConf(c echo.Context) error

func UpdataConfigurationInfo

func UpdataConfigurationInfo(c echo.Context) error

func UpdateCertificateInfo

func UpdateCertificateInfo(c echo.Context) error

func UpdateServerInfo

func UpdateServerInfo(c echo.Context) error

func UpdateUserInfo

func UpdateUserInfo(c echo.Context) error

Types

type DataCertificate

type DataCertificate struct {
	ID        int64
	Domain    string
	FullChain string
	Key       string
}

type JwtCustomClaims

type JwtCustomClaims struct {
	Name  string `json:"name"`
	Mail  string `json:"mail"`
	Level int64  `json:"level"`
	jwt.StandardClaims
}

func CheckAuth

func CheckAuth(c echo.Context) *JwtCustomClaims

Jump to

Keyboard shortcuts

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