{"modulePath":"github.com/beeper/desktop-api-cli","version":"v0.3.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package debugmiddleware\n\n## Types\n\n```go\ntype Middleware = func(*http.Request, MiddlewareNext) (*http.Response, error)\n```\nFor the time being these type definitions are duplicated here so that we can test this file in a non-generated context.\n\n```go\ntype MiddlewareNext = func(*http.Request) (*http.Response, error)\n```\nFor the time being these type definitions are duplicated here so that we can test this file in a non-generated context.\n\n```go\ntype RequestLogger struct {\n\t// contains filtered or unexported fields\n}\n```\nRequestLogger is a middleware that logs HTTP requests and responses.\n\n```go\nfunc NewRequestLogger() *RequestLogger\n```\nNewRequestLogger returns a new RequestLogger instance with default options.\n\n```go\nfunc (m *RequestLogger) Middleware() Middleware\n```\n\n","path":"github.com/beeper/desktop-api-cli/internal/debugmiddleware","name":"debugmiddleware","synopsis":"","isRedistributable":true}
