connection

package
v0.0.0-...-f37d2a6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2017 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(listenNetwork, listenAddr string) *connection

Types

type Connection

type Connection interface {
	Ping() error
	AddService(apihub.ServiceSpec) (apihub.ServiceSpec, error)
	Services() ([]apihub.ServiceSpec, error)
	RemoveService(string) error
	FindService(string) (apihub.ServiceSpec, error)
	UpdateService(string, apihub.ServiceSpec) (apihub.ServiceSpec, error)
}

type Params

type Params map[string]string

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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