config

package
v0.0.0-...-9fc4fbf Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(input string) (out config, err error)

Types

type Queue

type Queue struct {
	Name     string        `hcl:",key"`
	Driver   string        `hcl:"type"`
	Host     string        `hcl:"host"`
	Port     int           `hcl:"port"`
	Database int           `hcl:"db"`
	Password string        `hcl:"password"`
	Timeout  time.Duration `hcl:timeout`
}

func (*Queue) Address

func (q *Queue) Address() string

Jump to

Keyboard shortcuts

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