middleware

package
v0.0.0-...-aaefbb5 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 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 SniBalancer

type SniBalancer struct {
	SniConf  *config.Sni
	Delegate core.Balancer
}

*

  • SniBalancer middleware delegate

func (*SniBalancer) Elect

func (sniBalancer *SniBalancer) Elect(ctx core.Context, backends []*core.Backend) (*core.Backend, error)

*

  • Elect backend using sni pre-processing

Jump to

Keyboard shortcuts

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