config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerMapping

type HandlerMapping struct {
	Name                 string
	Source               string
	Http                 map[string]string
	EnvironmentVariables map[string]string
}

type OfflineConfig added in v0.1.1

type OfflineConfig struct {
	File   string `toml:"file"`
	Module string `toml:"module"`
	Port   string `toml:"port"`
}

type TerrableConfig

type TerrableConfig struct {
	Handlers                   []HandlerMapping
	GlobalEnvironmentVariables map[string]string
}

type TerrableToml

type TerrableToml struct {
	Offline OfflineConfig `toml:"offline"`
}

func ParseTerrableToml

func ParseTerrableToml() (*TerrableToml, error)

Jump to

Keyboard shortcuts

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