router

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMutableRouter

func NewMutableRouter(handler *mux.Router) *mutableRouter

func Start

func Start(port int, poolmgrUrl string)

Types

type HTTPTriggerSet

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

func (HTTPTriggerSet) ServeHTTP

func (mr HTTPTriggerSet) ServeHTTP(responseWriter http.ResponseWriter, request *http.Request)

type RetryingRoundTripper

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

A layer on top of http.DefaultTransport, with retries.

func (RetryingRoundTripper) RoundTrip

func (rrt RetryingRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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