reqcontext

package
v0.0.0-...-a420e69 Latest Latest
Warning

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

Go to latest
Published: May 24, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextHandler

func ContextHandler(rootCtx context.Context) martini.Handler

ContextHandler returns a middleware handler that populates a Context instance with current request and sentry information. There are no requirements on where the handler is to be installed in the handler chain.

func ReqFromContext

func ReqFromContext(ctx context.Context) (*http.Request, bool)

ReqFromContext fetches an instance of http.Request embedded in given context.Context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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