Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var ErrNoGRPCServices = errors.New("no grpc services")
ErrNoGRPCServices is used to indicate that no grpc services are found on the server.
Functions ¶
func LoadEnvironment ¶ added in v0.4.0
func LoadEnvironment(cfg *config.VaultConfig, e *config.EnvironmentConfig) (map[string]string, error)
LoadEnvironment reads reads environment variables out of vault for return.
Types ¶
type Config ¶
type Config struct { Target string `yaml:"target"` Tracing ztrace.Config `yaml:"tracing,omitempty"` // modules Server server.Config `yaml:"server,omitempty"` Harvester harvester.Config `yaml:"harvester"` Inventory inventory.Config `yaml:"inventory"` IOT iot.Config `yaml:"iot"` Lights lights.Config `yaml:"lights"` Telemetry telemetry.Config `yaml:"telemetry"` Timer timer.Config `yaml:"timer"` RPC config.RPCConfig `yaml:"rpc,omitempty"` }
func LoadConfig ¶
LoadConfig receives a file path for a configuration to load.
type Znet ¶ added in v0.1.0
type Znet struct { Server *server.Server ModuleManager *modules.Manager // contains filtered or unexported fields }
Znet is the core object for this project. It keeps track of the data, configuration and flow control for starting the server process.
Click to show internal directories.
Click to hide internal directories.