web

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2014 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(listen string, config types.CirconusConfig, log *logger.Logger) error

Types

type Request

type Request struct {
	Name  string
	Value interface{}
}

type WebHandler

type WebHandler struct {
	Config types.CirconusConfig
	Logger *logger.Logger
}

func (*WebHandler) DispatchGET added in v0.5.0

func (wh *WebHandler) DispatchGET(w http.ResponseWriter, r *http.Request)

func (*WebHandler) DispatchPOST added in v0.5.0

func (wh *WebHandler) DispatchPOST(w http.ResponseWriter, r *http.Request)

func (*WebHandler) DispatchPUT added in v0.5.0

func (wh *WebHandler) DispatchPUT(w http.ResponseWriter, r *http.Request)

func (*WebHandler) ServeHTTP

func (wh *WebHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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