conf

package
v0.0.0-...-37e6509 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(file string)

Types

type ApiServerConfig

type ApiServerConfig struct {
	NodeId string `json:"node_id" yaml:"node_id"`
	Server struct {
		Addr string `json:"addr" yaml:"addr"`
	} `json:"server" yaml:"server"`
	Mqtt conf.MqttConfig `json:"mqtt" yaml:"mqtt"`
	Log  log.Config      `json:"log" yaml:"log"`
}
var Config ApiServerConfig

Jump to

Keyboard shortcuts

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