server

package
v0.0.0-...-1bef8a8 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2013 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleTrackException

func HandleTrackException(db *mgo.Database, w http.ResponseWriter, req *http.Request)

Track Error will track the instance of an error

Signature: <- name:: Name of the error (e.g. NotFoundError) message:: Message associated with error (e.g. "Unable to find /users/5") backtrace:: Optional, comma-separated list which is backtrace of error context:: JSON-encoded context object for storing arbitrary data -> (json) { Track: '<tracked error information>'}

func RunLurchServer

func RunLurchServer(db *mgo.Database)

Types

type ErrorResponse

type ErrorResponse struct {
	Error string
}

type TrackExceptionResponse

type TrackExceptionResponse struct {
	Track *lurch.Exception
}

Jump to

Keyboard shortcuts

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