cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigFileName = "config.yaml"
)

Variables

View Source
var (
	ConfigFilePath = "/conf/"
	UploadFilePath = "/upfiles/"
	I18nPath       = "/i18n/"
)

Functions

func CheckConfigFile

func CheckConfigFile(configPath string) bool

func CheckDB

func CheckDB(dataConf *data.Database) bool

func CheckUploadDir

func CheckUploadDir() bool

func DumpAllData

func DumpAllData(dataConf *data.Database, dumpDataPath string) error

DumpAllData dump all database data to sql

func InstallAllInitialEnvironment

func InstallAllInitialEnvironment(dataDirPath string)

InstallAllInitialEnvironment install all initial environment

Types

This section is empty.

Jump to

Keyboard shortcuts

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