bgparchive

package module
v0.0.0-...-304b888 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: BSD-3-Clause Imports: 27 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	CONT_ADD int = iota
	CONT_GET
	CONT_EXISTS
	CONTCLISZ = 100
)
View Source
const (
	HELPSTR = `` /* 3606-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func NewFsArchive

func NewFsArchive(path, descr, colname string, ref int, savepath string, debug bool) *fsarchive

func NewFsarconf

func NewFsarconf(a *fsarchive) *fsarconf

func NewFsarstat

func NewFsarstat(a *fsarchive) *fsarstat

func NewJsonArchive

func NewJsonArchive(a *fsarchive) *jsonarchive

func NewMRTArchive

func NewMRTArchive(path, descr, colname string, ref int, savepath string, debug bool) *mrtarchive

func NewPbArchive

func NewPbArchive(a *fsarchive) *pbarchive

Types

type ArchEntryFile

type ArchEntryFile struct {
	Path  string
	Sdate time.Time
	Sz    int64
}

implements Sort interface by time.Time

func (ArchEntryFile) String

func (a ArchEntryFile) String() string

type BgpStats

type BgpStats struct {
	StartTime                                          string
	EndTime                                            string
	Delta_sec                                          int
	TotalMsgs                                          int64
	TotalPerDelta, Withdrawn, NLRI, MPReach, MPUnreach []int
}

type HelpMsg

type HelpMsg struct {
	api.PutNotAllowed
	api.PostNotAllowed
	api.DeleteNotAllowed
	// contains filtered or unexported fields
}

func (*HelpMsg) AddArchive

func (h *HelpMsg) AddArchive(ar *fsarconf)

func (*HelpMsg) Get

func (h *HelpMsg) Get(ctx context.Context, values url.Values) (api.HdrReply, chan api.Reply)

TODO: does this function need context?

type MrtArchives

type MrtArchives []*mrtarchive

type TimeEntrySlice

type TimeEntrySlice []ArchEntryFile

func (TimeEntrySlice) Len

func (p TimeEntrySlice) Len() int

func (TimeEntrySlice) Less

func (p TimeEntrySlice) Less(i, j int) bool

func (TimeEntrySlice) String

func (a TimeEntrySlice) String() string

func (TimeEntrySlice) Swap

func (p TimeEntrySlice) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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