agentconfig

package
v0.0.0-...-33635b2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfiguration

type AuthConfiguration struct {
	Password string `yaml:"password"`
	Username string `yaml:"username"`
}

type Config

type Config struct {
	DefaultConfPath     string            `yaml:"default_conf_path"`
	ConfPath            string            `yaml:"conf_path"`
	MonitExecutablePath string            `yaml:"monit_executable_path"`
	Port                string            `yaml:"backend_port"`
	AuthConfiguration   AuthConfiguration `yaml:"auth"`
}

func Load

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

Jump to

Keyboard shortcuts

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