disco

package
v0.0.0-...-6420a38 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	Expose(name, host string, port uint16) error
	Remove(name string) error
}

Driver provides the actual implementation for the Discovery.

func New

func New(opts *Options) (Driver, error)

New creates a new Discovery from the provided options.

type Options

type Options struct {
	Type string
	Args util.DynamicMap
}

Options contain Discovery configuration.

Jump to

Keyboard shortcuts

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