blacklist

package
v0.0.0-...-476ea00 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackList

type BlackList struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *BlackList

func (*BlackList) Close

func (r *BlackList) Close() error

func (*BlackList) Filter

func (r *BlackList) Filter(services []*registry.Service) ([]*registry.Service, error)

func (*BlackList) Mark

func (r *BlackList) Mark(service string, node *registry.Node, err error)

func (*BlackList) Reset

func (r *BlackList) Reset(service string)

Jump to

Keyboard shortcuts

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