registrar

package
v5.0.0-alpha4+incompat... Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registrar

type Registrar struct {
	Channel chan []*FileEvent
	// contains filtered or unexported fields
}

func New

func New(registryFile string) (*Registrar, error)

func (*Registrar) GetStates

func (r *Registrar) GetStates() file.States

GetStates return the registrar states

func (*Registrar) Init

func (r *Registrar) Init() error

Init sets up the Registrar and make sure the registry file is setup correctly

func (*Registrar) Run

func (r *Registrar) Run()

func (*Registrar) Start

func (r *Registrar) Start() error

func (*Registrar) Stop

func (r *Registrar) Stop()

Stop stops the registry. It waits until Run function finished.

Jump to

Keyboard shortcuts

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