boxrunner

package
v0.0.0-...-92846b1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions = &BoxRunnerOptions{
	ConsulAddress: "localhost:8500",
}

Functions

This section is empty.

Types

type BoxRunner

type BoxRunner struct {
	Service string
	ID      string
	// contains filtered or unexported fields
}

func NewBoxRunner

func NewBoxRunner(service_name string, options *BoxRunnerOptions) (runner *BoxRunner, err error)

func (*BoxRunner) Run

func (b *BoxRunner) Run() (success bool, error error)

type BoxRunnerOptions

type BoxRunnerOptions struct {
	ConsulAddress string
	ConsulClient  *api.Client
	Logger        *log.Logger
}

Jump to

Keyboard shortcuts

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