libchorizo

package
v0.0.0-...-cc4b20d Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2015 License: MPL-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 ChorizoConfig

type ChorizoConfig interface {
	InterpolateConfig(config_file_path string) Config
}

type Config

type Config struct {
	Main struct {
		Dbfile       string
		Debug        bool
		Cronfile     string
		Statefile    string
		Lockfile     string
		Scriptpath   string
		APIUrl       string
		Loglevel     string
		ExecPath     string
		ConfigPath   string
		RabbitmqHost string
		RabbitmqPort string
		RabbitmqUser string
		RabbitmqPass string
		UseTls       bool
	}
}

func ParseConfig

func ParseConfig(exec_path string) (Config, error)

func (Config) InterpolateConfig

func (ChorizoConfig Config) InterpolateConfig(config_file_path string) Config

func (Config) NewConfig

func (cfg Config) NewConfig(exec_path string) Config

Jump to

Keyboard shortcuts

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