config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMethod

func CheckMethod(method string) (upperMethod string, ok bool)

Types

type ConfigParameters

type ConfigParameters struct {
	Connection struct {
		RabbitmqURL string
		RetryDelay  int
	}
	Queue struct {
		Name          string
		WaitDelay     int
		PrefetchCount int
	}
	Message struct {
		DefaultTTL int
	}
	Http struct {
		DefaultMethod string
		Timeout       int
	}
	Log struct {
		LogFile string
		ErrFile string
	}
}

func (*ConfigParameters) ParseConfigFile

func (config *ConfigParameters) ParseConfigFile(configFile string) error

func (*ConfigParameters) String

func (config *ConfigParameters) String() string

Jump to

Keyboard shortcuts

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