config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Global Global `yaml:"global"`
}

func ReadConfigFile

func ReadConfigFile(configFile string) (Config, error)

type Global

type Global struct {
	Pcep Pcep `yaml:"pcep"`
	Grpc Grpc `yaml:"grpc"`
	Log  Log  `yaml:"log"`
}

type Grpc

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

type Log

type Log struct {
	Path string `yaml:"path"`
	Name string `yaml:"name"`
}

type Pcep

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

Jump to

Keyboard shortcuts

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