config

package
v0.0.0-...-702a9b6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFileName = "/data/options.json"
View Source
const FallbackNetworkConfig = `` /* 9899-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Version    string `json:"VERSION"`
	Key        string `json:"KEY"`
	ListenHost string `json:"LISTEN_HOST"`
	ListenPort string `json:"LISTEN_PORT"`
	Debug      bool   `json:"DEBUG"`
}

Config ...

func InitConfig

func InitConfig(args []string, version string) (*Config, error)

Jump to

Keyboard shortcuts

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