shared

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeEvent

type ChangeEvent struct {
	Type     string
	Host     Host
	Endpoint Endpoint
}

func NewChangeEvent

func NewChangeEvent(t string, h Host, e Endpoint) *ChangeEvent

type ContainerID

type ContainerID string

type Endpoint

type Endpoint struct {
	Scheme  string
	Address string
	Port    uint32
}

func NewEndpoint

func NewEndpoint(s, a string, p uint32) *Endpoint

func NewEndpointFromUrl

func NewEndpointFromUrl(us string) (*Endpoint, error)

func (*Endpoint) Hash

func (e *Endpoint) Hash() string

func (*Endpoint) String

func (e *Endpoint) String() string

type Host

type Host string

type HostList

type HostList map[Host][]Endpoint

func (HostList) Pprint

func (hl HostList) Pprint() string

type OptionMap

type OptionMap map[string]string

Jump to

Keyboard shortcuts

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