config

package
v0.0.3-pre13 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 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"`
	Passive bool   `yaml:"passive"`
}

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