config

package
Version: v0.0.3-pre7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BMPServer

type BMPServer struct {
	Address string `yaml:"address"`
	Port    uint16 `yaml:"port"`
}

BMPServer represent a BMP enable Router

type RISConfig

type RISConfig struct {
	BMPServers []BMPServer `yaml:"bmp_servers"`
}

RISConfig is the config of RIS instance

func LoadConfig

func LoadConfig(filepath string) (*RISConfig, error)

LoadConfig loads a RIS config

Source Files

Jump to

Keyboard shortcuts

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