setup

package
v3.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 RegisterInstallSQL added in v3.6.2

func RegisterInstallSQL(project string, installSQL string)

func RegisterUpgradeSQL added in v3.6.2

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