server

package
v0.0.0-...-93b71ba Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(c *config.Config, listenAddress string, bgpListenAddress net.IP, db *database.Database, metrics *Metrics) error

Start starts the server listening for BGP and API calls

Types

type Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

func NewMetrics

func NewMetrics() *Metrics

func (*Metrics) RegisterEndpoint

func (m *Metrics) RegisterEndpoint(addr string)

type Server

type Server struct {
}

Server is an server hosting BGP and API endoints

Jump to

Keyboard shortcuts

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