daemon

package
v0.0.0-...-17b3017 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PORT = ":2048"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

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

func NewDaemon

func NewDaemon(logPath string, md *MetaData, root *analysis.BGPBST) *Daemon

func (*Daemon) ParseRIBData

func (d *Daemon) ParseRIBData(files []string)

func (*Daemon) Run

func (d *Daemon) Run()

type MetaData

type MetaData struct {
	AsPathMap sync.Map
	PrefixMap sync.Map
	TaskList  [][]*analysis.BGPInfo
}

func NewMetaData

func NewMetaData() *MetaData

Jump to

Keyboard shortcuts

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