moduleconfig

package
v0.111.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.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 GoConfig added in v0.96.0

type GoConfig struct {
}

GoConfig is language-specific configuration for Go modules.

type KotlinConfig added in v0.96.0

type KotlinConfig struct {
}

KotlinConfig is language-specific configuration for Kotlin modules.

type ModuleConfig

type ModuleConfig struct {
	Language  string   `toml:"language"`
	Module    string   `toml:"module"`
	Build     string   `toml:"build"`
	Deploy    []string `toml:"deploy"`
	DeployDir string   `toml:"deploy-dir"`
	Schema    string   `toml:"schema"`
	Watch     []string `toml:"watch"`

	Go     GoConfig     `toml:"go,optional"`
	Kotlin KotlinConfig `toml:"kotlin,optional"`
}

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