apiinterceptor

package
v0.24.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInterceptor

func NewInterceptor(configFile string, cattleAddr string) (http.Handler, error)

Types

type APIInterceptor

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

APIInterceptor is a wrapper over the mux interceptor that does the path<->filters matching

func (*APIInterceptor) ServeHTTP

func (h *APIInterceptor) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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