round_tripper

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RoundTripper

func RoundTripper(d stream.Dialer) http.RoundTripper

Types

type LB added in v0.5.0

type LB struct {
	// contains filtered or unexported fields
}

func NewLB added in v0.5.0

func NewLB(policy balance.Policy, trippers []http.RoundTripper) *LB

func (*LB) RoundTrip added in v0.5.0

func (l *LB) RoundTrip(req *http.Request) (resp *http.Response, err error)

Jump to

Keyboard shortcuts

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