config

package
v0.0.0-...-4c8d8d5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2016 License: MIT Imports: 2 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 {
	RabbitMq struct {
		Host        string
		Username    string
		Password    string
		Port        string
		Vhost       string
		Compression bool
		Path        bool
	}
	Prefetch struct {
		Count  int
		Global bool
	}
	Exchange struct {
		Name       string
		Autodelete bool
		Type       string
		Durable    bool
	}
	Queue struct {
		Key        string
		Name       string
		Max_Length int32
	}
	Deadexchange struct {
		Name       string
		AutoDelete bool
		Type       string
		Durable    bool
		Queue      string
		Retry      int
	}
	Logs struct {
		Error string
		Info  string
		Rpc   string
	}
	Output struct {
		Path string
	}
}

func LoadAndParse

func LoadAndParse(location string) (*Config, error)

Jump to

Keyboard shortcuts

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