config

package
v0.0.3-pre4.0...-0ec3cfc Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 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

Jump to

Keyboard shortcuts

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