config

package
v0.3.7-alpha3 Latest Latest
Warning

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

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

Documentation

Overview

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

* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-13 18:15:46 * @LastEditors: LinkLeong * @LastEditTime: 2022-09-05 11:58:02 * @FilePath: /CasaOS/pkg/config/init.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{}

用户相关

View Source
var CasaOSGlobalVariables = &model.CasaOSGlobalVariables{}
View Source
var Cfg *ini.File
View Source
var CommonInfo = &model.CommonModel{}
View Source
var FileSettingInfo = &model.FileSetting{}
View Source
var ServerInfo = &model.ServerModel{}

server相关

View Source
var SysInfo = &model.SysInfoModel{}

系统配置

View Source
var SystemConfigInfo = &model.SystemConfig{}

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