setup

package
v4.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RegisterInstallSQL = config.RegisterInstallSQL
)

Functions

func License

func License(c echo.Context) error

License 获取商业授权

func OnInstalled

func OnInstalled(cb func(ctx echo.Context) error)

func Progress

func Progress(ctx echo.Context) error

func RegisterUpgradeSQL

func RegisterUpgradeSQL(project string, minNgingDBVer float64, upgradeSQL string)

func Setup

func Setup(ctx echo.Context) error

func Upgrade

func Upgrade() error

Upgrade 通过自动执行配置文件目录下的upgrade.sql来进行升级

Types

type ProgressInfo

type ProgressInfo struct {
	Finished  int64
	TotalSize int64
	Summary   string
	Timestamp int64
}

Jump to

Keyboard shortcuts

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