config

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CONFIG_NAME = "config"

Variables

This section is empty.

Functions

func Init added in v0.3.1

func Init()

Types

type AppConfig

type AppConfig struct {
	AllowedNamespaces []string
}
var Config AppConfig

func ReadConfig added in v0.3.0

func ReadConfig() (appConfig AppConfig, err error)

ReadConfig reads and parses the application config from a `config.*` file found in either the current working directory or the root directory

Jump to

Keyboard shortcuts

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