settings

package
v0.0.0-...-3db37ce Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BasePath = "/opt/gpq"
)

Variables

View Source
var Settings = &schema.Settings{

	Port:     4040,
	HostName: "localhost",

	LogPath:        BasePath + "/gpq.log",
	SettingsDBPath: BasePath + "/settings-db",
	ConfigPath:     BasePath + "/" + config,

	AuthTopics:     true,
	AuthSettings:   true,
	AuthManagement: true,
	AdminUser:      "admin",
	AdminPass:      "admin",
}

Settings is the default configuration struct

Functions

func LoadSettings

func LoadSettings() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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