app

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusNormal = iota
	StatusMaintain
	StatusClosed
	StatusUpgrade
	StatusFailed
)

面板状态常量

Variables

View Source
var (
	Key    string         // 密钥
	Root   string         // 根目录
	Locale string         // 语言
	IsCli  bool           // 是否命令行
	Status = StatusNormal // 面板状态
)

面板全局变量

View Source
var (
	Version    = "0.0.0"
	BuildTime  string
	CommitHash string
	GoVersion  string
	BuildID    string
	BuildUser  string
	BuildHost  string
)

自动注入

View Source
var StartTime = time.Now()

StartTime 面板启动时间

Functions

This section is empty.

Types

type Ace

type Ace struct {
	// contains filtered or unexported fields
}

func NewAce

func NewAce(conf *config.Config, router *chi.Mux, server *hlfhr.Server, reloader *tlscert.Reloader, migrator *gormigrate.Gormigrate, cron *cron.Cron, runner types.TaskRunner, _ *validate.Validation) *Ace

func (*Ace) Run

func (r *Ace) Run() error

type Cli

type Cli struct {
	// contains filtered or unexported fields
}

func NewCli

func NewCli(cmd *cli.Command, migrator *gormigrate.Gormigrate, _ *apploader.Loader) *Cli

func (*Cli) Run

func (r *Cli) Run() error

Jump to

Keyboard shortcuts

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