app

package
v0.0.0-...-d8a4e70 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 14 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
)

自动注入

Functions

This section is empty.

Types

type Cli

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

func NewCli

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

func (*Cli) Run

func (r *Cli) Run() error

type Web

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

func NewWeb

func NewWeb(conf *koanf.Koanf, router *chi.Mux, server *hlfhr.Server, migrator *gormigrate.Gormigrate, cron *cron.Cron, queue *queue.Queue, _ *validate.Validation) *Web

func (*Web) Run

func (r *Web) Run() error

Jump to

Keyboard shortcuts

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