-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add net/http middleware library (#55)
* refactor: use vanilla context for all autometrics values The change makes autometrics easier to plug into any API/external packages, as the functions to manipulate the values in an autometrics context only take "context.Context" as argument now. * Add net/http middleware * Capture the function name in the middleware * Slim down README * Make the go:generate cookie stand out * refactor!: change import paths to be more idiomatic The change includes removing `pkg` from the path, and also providing a package name that does not need renaming/aliasing for the common usecase. This is a stopgap measure until a vanity URL can be used.
- Loading branch information
Showing
31 changed files
with
1,000 additions
and
707 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.