configuration

package
v0.0.0-...-69f9896 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2017 License: MIT Imports: 3 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 {
	Unifi  []*UnfiConfig   `yaml:"unifi,omitempty"`
	Ruckus []*RuckusConfig `yaml:"ruckus,omitempty"`
}

func Load

func Load(path string) (*Config, error)

Load reads config file

type RuckusConfig

type RuckusConfig struct {
	Host string `yaml:"host"`
	Site string `yaml:"host"`
}

type UnfiConfig

type UnfiConfig struct {
	ApiUrl  string `yaml:"api_url"`
	ApiUser string `yaml:"api_user"`
	ApiPass string `yaml:"api_password"`
}

Jump to

Keyboard shortcuts

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