registrar

package
v0.0.0-...-bc1b659 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2016 License: Apache-2.0 Imports: 13 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 []*input.Event
	// contains filtered or unexported fields
}

func New

func New(registryFile string, out publisher.SuccessLogger) (*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