internal

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FireplaceServerURL      string `mapstructure:"FIREPLACEVIEWER_FIREPLACE_URL"`
	FireplaceServerPassword string `mapstructure:"FIREPLACEVIEWER_FIREPLACE_PASSWORD"`
	Host                    string `mapstructure:"FIREPLACEVIEWER_SERVER_HOST"`
	Cert                    string `mapstructure:"FIREPLACEVIEWER_SERVER_CERT"`
	ServerPassword          string `mapstructure:"FIREPLACEVIEWER_SERVER_PASSWORD"`
	JWTSecret               string `mapstructure:"FIREPLACEVIEWER_JWT_SECRET"`
	LogLevel                logrus.Level
	Version                 string
}

Config provides configuration information for the Fireplace Viewer

func GetConfig

func GetConfig(version string) Config

GetConfig creates a new configuration object

Jump to

Keyboard shortcuts

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