tracker/server/store/middleware/response
Josh de Kock 98afbe67da middleware: add basic response middleware
This commit adds a basic response middleware for both announces, and scrapes.

Completes one of the tasks in #145
2016-04-02 23:46:28 +01:00
..
README.md middleware: add basic response middleware 2016-04-02 23:46:28 +01:00
response.go middleware: add basic response middleware 2016-04-02 23:46:28 +01:00

Response Middleware

This package provides the final response for a chain of middleware using the “store” package.

store_response

The store_response middleware uses the peer data stored in the peerStore to create a response for the request.

Important things to notice

This middleware is very basic, and may not do everything that you require.