config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applications

type Applications map[string]application.Config

func (*Applications) Path

func (a *Applications) Path() string

type Certificates

type Certificates map[string]certificate.Config

func (*Certificates) Path

func (c *Certificates) Path() string

type Config

type Config struct {
	Settings     Settings     `json:"settings"`
	Listeners    Listeners    `json:"listeners"`
	Routes       Routes       `json:"routes"`
	Applications Applications `json:"applications"`
	Upstreams    Upstreams    `json:"upstreams,omitempty"`
	AccessLog    string       `json:"access_log,omitempty"`
}

func (*Config) Path

func (c *Config) Path() string

type Entity

type Entity interface {
	Path() string
}

type Listeners

type Listeners map[string]listener.Config

func (*Listeners) Path

func (l *Listeners) Path() string

type Routes

type Routes map[string][]route.Config

func (*Routes) Path

func (r *Routes) Path() string

type Settings

type Settings struct {
	HTTP settings.HTTP `json:"http,omitempty"`
}

func (*Settings) Path

func (s *Settings) Path() string

type Unit

type Unit struct {
	Certificates Certificates `json:"certificates,omitempty"`
	Config       Config       `json:"config,omitempty"`
}

type Upstreams

type Upstreams map[string]upstream.Config

func (*Upstreams) Path

func (u *Upstreams) Path() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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