config

package
v0.0.0-...-8a1b933 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFileName = "/data/options.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	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) (*Config, error)

Jump to

Keyboard shortcuts

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