quilkin

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Address string `yaml:"address"`
}

type AdminConfig

type AdminConfig struct {
	Address string `yaml:"address"`
}

type DynamicConfig

type DynamicConfig struct {
	ManagementServers []*Address `yaml:"management_servers"`
}

type ProxyConfig

type ProxyConfig struct {
	Id   string `yaml:"id"`
	Port int    `yaml:"port"`
}

type QuilkinConfig

type QuilkinConfig struct {
	Version string        `yaml:"version"`
	Proxy   ProxyConfig   `yaml:"proxy"`
	Admin   AdminConfig   `yaml:"admin"`
	Dynamic DynamicConfig `yaml:"dynamic"`
}

func NewQuilkinConfig

func NewQuilkinConfig(proxyName string) QuilkinConfig

Jump to

Keyboard shortcuts

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