config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	USERCONFIGURL = "conf/conf.ini"
)

Variables

View Source
var AppInfo = &model.APPModel{}

用户相关

View Source
var CasaOSGlobalVariables = &model.CasaOSGlobalVariables{}
View Source
var Cfg *ini.File
View Source
var RedisInfo = &model.RedisModel{}

redis相关配置

View Source
var ServerInfo = &model.ServerModel{}

server相关

View Source
var SysInfo = &model.SysInfoModel{}

系统配置

View Source
var SystemConfigInfo = &model.SystemConfig{}
View Source
var UserInfo = &model.UserModel{}

用户相关

View Source
var ZeroTierInfo = &model.ZeroTierModel{}

zerotier相关

Functions

func InitSetup

func InitSetup(config string)

初始化设置,获取系统的部分信息。

func UpdateSetup

func UpdateSetup()

Types

This section is empty.

Jump to

Keyboard shortcuts

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