context

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	App     string            `mapstructure:"app"`
	Broker  broker            `mapstructure:"broker"`
	Unit    unit              `mapstructure:"unit"`
	Log     log               `mapstructure:"log"`
	Buses   map[string]bus    `mapstructure:"buses"`
	Modules map[string]module `mapstructure:"modules"`
}

func LoadConfig

func LoadConfig(path, name string) (*Config, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL