bgp

package
v0.0.0-...-22c38b1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BgpService

type BgpService struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewBgpService

func NewBgpService(conf *config.BalancerConfig) (*BgpService, error)

func (*BgpService) AddPath

func (bs *BgpService) AddPath(route string) error

func (*BgpService) DelPath

func (bs *BgpService) DelPath(route string) error

func (*BgpService) GetPaths

func (bs *BgpService) GetPaths() ([]string, error)

func (*BgpService) Serve

func (bs *BgpService) Serve()

func (*BgpService) Sync

func (bs *BgpService) Sync(s state.State) error

type Syncer

type Syncer interface {
	Sync(state state.State) error
}

Jump to

Keyboard shortcuts

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