Potential Middleware: Test module #10

Open
paulbellamy opened this Issue Jul 23, 2011 · 0 comments

Projects

None yet

1 participant

@paulbellamy
Owner

It might be nice to have a "Test" middleware, where requests could be injected into the app stack, and the responses given extra information about what got called, etc...

Other Thoughts:

  • I'm not 100% sure if this is really needed, since we can do: stack.Compile(handler), and then pass that an Env, or do stack.HandlerFunc(handler), and pass that an http.Request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment