moduleconfig

package
v0.60.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 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"`
	Schema   string   `toml:"schema"`
}

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