config

package
v0.0.0-...-d368b18 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File string

Functions

func OpenConfig

func OpenConfig(configFile *string) *os.File

Open the config file for reading

Types

type Config

type Config struct {
	Rabbit struct {
		Host string
	}
}

func ReadConfig

func ReadConfig(r io.Reader) (*Config, error)

ReadConfig config from io.Reader

func ReadReturn

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

Read and retrun config

Jump to

Keyboard shortcuts

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