Deprecate v1.0.0 HTTP and log helpers in favour of the toolkit API
CI / test (push) Successful in 1m12s
CI / test (push) Successful in 1m12s
LogHandler and HTTPTransport now delegate to NewTraceHandler and NewHTTPTransport. HTTPMiddleware keeps its v1.0.0 metric names but shares responseWriter and normalizeMethod with NewHTTPMiddleware. The package example shows obsx.New. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
b53a6a6c30
commit
8837e8d316
8 files changed
+40
-149
No files matched your search
@@ -58,5 +58,7 @@
|
||||
// # Stability
|
||||
//
|
||||
// The package follows semantic versioning; the v1 API is stable. The v1.0.0
|
||||
// helpers HTTPMiddleware, HTTPTransport and LogHandler remain available.
|
||||
// helpers HTTPMiddleware, HTTPTransport and LogHandler still work but are
|
||||
// deprecated in favour of NewHTTPMiddleware, NewHTTPTransport and
|
||||
// NewTraceHandler.
|
||||
package obsx
|
||||
Reference in new issue
Block a user