config

package
v0.0.0-...-60c9cd7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 4 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 {
	Interfaces []string `yaml:"interfaces"`
	Backends   []string `yaml:"backends"`
	// contains filtered or unexported fields
}

Config represents a config file

func GetConfig

func GetConfig(fp string) (*Config, error)

GetConfig gets the config

func (*Config) GetBackends

func (c *Config) GetBackends() []net.IP

GetBackends gets the backends

Jump to

Keyboard shortcuts

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