Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleConfig ¶
type ModuleConfig struct { Dir string `toml:"-"` // Directory the module config was loaded from. Language string `toml:"language"` Realm string `toml:"realm"` 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 ModuleGoConfig `toml:"go,optional"` Kotlin ModuleKotlinConfig `toml:"kotlin,optional"` }
ModuleConfig is the configuration for an FTL module.
Module config files are currently TOML.
func LoadModuleConfig ¶
func LoadModuleConfig(dir string) (ModuleConfig, error)
LoadModuleConfig from a directory.
type ModuleGoConfig ¶
type ModuleGoConfig struct{}
ModuleGoConfig is language-specific configuration for Go modules.
type ModuleKotlinConfig ¶
type ModuleKotlinConfig struct{}
ModuleKotlinConfig is language-specific configuration for Kotlin modules.
Click to show internal directories.
Click to hide internal directories.