api

package
v0.0.0-...-76456f8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2014 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProxyEndpoint = "/rproxy"
)

Variables

This section is empty.

Functions

func Init

func Init()

Types

type ApiHandler

type ApiHandler func(w http.ResponseWriter, r *http.Request) *InspectorError

func (ApiHandler) ServeHTTP

func (fn ApiHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type InspectorError

type InspectorError struct {
	Error error
	Code  int
}

Jump to

Keyboard shortcuts

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