moduleconfig

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleConfig

type ModuleConfig struct {
	Language string   `toml:"language"`
	Module   string   `toml:"module"`
	Deploy   []string `toml:"deploy"`
}

ModuleConfig is the configuration for an FTL module.

Module config files are currently TOML.

func LoadConfig

func LoadConfig(dir string) (ModuleConfig, error)

LoadConfig from a directory.

Jump to

Keyboard shortcuts

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