proxy

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

NewParser creates a new reverse proxy configuration annotation parser

Types

type Configuration

type Configuration struct {
	BodySize       string `json:"bodySize"`
	ConnectTimeout int    `json:"conectTimeout"`
	SendTimeout    int    `json:"sendTimeout"`
	ReadTimeout    int    `json:"readTimeout"`
	BufferSize     string `json:"bufferSize"`
	CookieDomain   string `json:"cookieDomain"`
	CookiePath     string `json:"cookiePath"`
	NextUpstream   string `json:"nextUpstream"`
}

Configuration returns the proxy timeout to use in the upstream server/s

func (*Configuration) Equal

func (l1 *Configuration) Equal(l2 *Configuration) bool

Jump to

Keyboard shortcuts

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