package
Version:
v0.0.0-...-d02dc8b
Opens a new window with list of versions in this module.
Published: Aug 9, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Load config file (toml/json/yaml)
type Command struct {
Code string `json:"code"`
Exec string `json:"exec"`
}
type Config struct {
RunMode string `json:"runMode"`
PrintConfig bool `json:"printConfig"`
HTTP HTTP `json:"http"`
Commands []Command `json:"commands"`
}
type HTTP struct {
Host string `json:"host"`
Port int `json:"port"`
Method string `json:"method"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.