proxy

package
v0.0.0-...-42351fe Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: 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 Config

type Config struct {
	BodySize    string `json:"bodySize"`
	ReadTimeout int    `json:"readTimeout"`
}

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

func (*Config) Equal

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

Equal tests for equality between two Configuration types

Jump to

Keyboard shortcuts

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