config

package
v0.3.5-alpha1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Overview

* @Author: LinkLeong link@icewhale.com * @Date: 2021-09-30 18:18:14 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-21 11:09:30 * @FilePath: /CasaOS/pkg/config/config.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

Index

Constants

View Source
const (
	USERCONFIGURL = "/etc/casaos/casaos.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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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