config

package
v0.0.0-...-0250a2a Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageBusConfigFilePath = "/etc/openit/message-bus.conf"
)

Variables

View Source
var (
	CommonInfo = &model.CommonModel{
		RuntimePath: constants.DefaultRuntimePath,
	}

	AppInfo = &model.APPModel{
		LogPath:     constants.DefaultLogPath,
		LogSaveName: common.MessageBusServiceName,
		LogFileExt:  "log",
	}

	Cfg            *ini.File
	ConfigFilePath string
)

Functions

func InitSetup

func InitSetup(config string, sample 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