config

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Unlicense 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
}

type OfflineConfig added in v0.1.1

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

type TerrableConfig

type TerrableConfig struct {
	Handlers []HandlerMapping
}

type TerrableToml

type TerrableToml struct {
	Environment map[string]string `toml:"environment"`
	Offline     OfflineConfig     `toml:"offline"`
}

func ParseTerrableToml

func ParseTerrableToml(directory string) (*TerrableToml, error)

Jump to

Keyboard shortcuts

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