cfg

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultBucket = "moppi"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdConfig

type CmdConfig struct {
	Chronos   string
	Listen    string
	Logger    *log.Logger
	Marathon  string
	Mesos     string
	Verbose   bool
	Zookeeper string
	Etcd      etcd.Provider
}

CmdConfig holds the needed config of the command

type Config

type Config struct {
	CmdConfig
	Listener net.Listener
}

Config holds the persistent config of Moppi

func New

func New(cmdCfg *CmdConfig) (*Config, error)

New returns a new config cmdCfg: is a CmdConfig that is used to create a config

Jump to

Keyboard shortcuts

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