bgp

package
v0.0.0-...-2920f5c Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Clients    []string         `env:"CLIENTS" default:""`
	Enabled    bool             `env:"ENABLED" default:"true"`
	Network    string           `env:"NETWORK" default:"tcp"`
	Address    string           `env:"ADDRESS" default:":51179"`
	RouteID    string           `env:"ROUTER_ID" default:"127.0.0.1"`
	Attributes broadcast.Config `env:"ATTRIBUTES"`
}

type Interface

type Interface service.Service

Interface is a service interface for BGP server

func New

func New(cfg Config, log logger.Logger, rec broadcast.PeerManager) (Interface, error)

New creates a new BGP server.

Jump to

Keyboard shortcuts

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