config

package
v2.3.7 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 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