config

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Random   = "random"
	NginxWRR = "weighted_round_robin"
	LVSWRR   = "lvs_weighted_round_robin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen   []string `toml:"listen"`
	Upstream upstream `toml:"upstream"`
	Other    others   `toml:"others"`
}

func LoadConfig

func LoadConfig(path string) (*Config, error)

Jump to

Keyboard shortcuts

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