config

package
v0.3.7-1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LocalStorageConfigFilePath = "/etc/casaos/local-storage.conf"
)

Variables

View Source
var (
	CommonInfo = &model.CommonModel{
		RuntimePath: "/var/run/casaos",
	}

	AppInfo = &model.APPModel{
		DBPath:      "/var/lib/casaos",
		LogPath:     "/var/log/casaos",
		LogSaveName: "local-storage",
		LogFileExt:  "log",
		ShellPath:   "/usr/share/casaos/shell",
	}

	ServerInfo = &model.ServerModel{
		USBAutoMount:   "False",
		EnableMergerFS: "False",
	}
)
View Source
var (
	Cfg            *ini.File
	ConfigFilePath string
)

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