config

package
v0.3.6-alpha7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	UserServiceConfigFilePath = "/etc/casaos/user-service.conf"
)

Variables

View Source
var AppInfo = &model.APPModel{
	DBPath:       "/var/lib/casaos",
	UserDataPath: "/var/lib/casaos",
	LogPath:      "/var/log/casaos",
	LogSaveName:  "user",
	LogFileExt:   "log",
}
View Source
var Cfg *ini.File
View Source
var CommonInfo = &model.CommonModel{
	RuntimePath: "/var/run/casaos",
}

Functions

func InitSetup

func InitSetup(config string)

func SaveSetup

func SaveSetup(config string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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