Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Functions map[string]FunctionConfig `toml:"functions"`
}
type FunctionConfig ¶
type FunctionConfig struct {
// General config
Timeout toml.Duration `toml:"timeout"`
// Config for connecting to domain socket
Socket string `toml:"socket"`
// Config for creating process
Prog string `toml:"prog"`
Args []string `toml:"args"`
Env map[string]string `toml:"env"`
}
func (FunctionConfig) Validate ¶ added in v0.13.0
func (c FunctionConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.