Skip to content

Use "net/context" #73

@hut8

Description

@hut8

Currently we don't use net/context, but we should.
https://godoc.org/golang.org/x/net/context
Each piece of middleware, including the final handler, has no good context state. This is primarily irritating in the error handler, where we can't figure out what problems are because the value returned from panic() has no context other than the stack trace (i.e., no local variables, no URL, etc).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions