feat: Replace default Go user-agent with oauth2-proxy and version (#2570)

* feat: Replace default Go user-agent with oauth2-proxy and version

* Add to CHANGELOG

* Make userAgentTransport configurable and composable

* Use correct naming convention for DefaultHTTPClient

* Move version to own package and use named arguments

* Update version path in Makefile

* Fix import path in Makefile

* Change importpath in dist.sh

* Minor style issues
This commit is contained in:
Jacob Middag
2024-07-14 21:09:17 +01:00
committed by GitHub
parent 45ec12bcae
commit 3045392c17
11 changed files with 54 additions and 9 deletions
+4
View File
@@ -0,0 +1,4 @@
package version
// VERSION contains version information
var VERSION = "undefined"