config

package
v0.0.0-...-3eac474 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Server struct {
		Host      string `yaml:"host"`
		Port      string `yaml:"port"`
		Ssl       bool   `yaml:"ssl"`
		SslVerify bool   `yaml:"ssl_verify"`
		StationId string `yaml:"station_id"`
	} `yaml:"server"`
	Credentials struct {
		ApiKey string `yaml:"api_key"`
	} `yaml:"credentials"`
}

func ReadConfig

func ReadConfig(path string) (Config, error)

Jump to

Keyboard shortcuts

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