responder

package
v0.0.0-...-91328e5 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2013 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Responder

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

func New

func New(res http.ResponseWriter) *Responder

func (*Responder) Error

func (self *Responder) Error(err errors.Error)

func (*Responder) JSON

func (self *Responder) JSON(v interface{})

func (*Responder) SetContentLength

func (self *Responder) SetContentLength(length int64)

func (*Responder) SetContentMd5

func (self *Responder) SetContentMd5(md5sum []byte)

func (*Responder) Success

func (self *Responder) Success(statusCode int)

Jump to

Keyboard shortcuts

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