Documentation ¶
Index ¶
- Constants
- func ConvertURL(src string) string
- func ErrorMiddleware(next http.Handler) http.Handler
- func LoggingMiddleware(next http.Handler) http.Handler
- func ReRoutingMiddleware(next http.Handler) http.Handler
- func RequestMiddleware(next http.Handler) http.Handler
- func ResponseMiddleware(next http.Handler) http.Handler
- func TracingMiddleware(next http.Handler) http.Handler
- type GWContext
- type Header
- type ReRouteInfo
Constants ¶
View Source
const ( TraceK key = iota ReRouteK )
Variables ¶
This section is empty.
Functions ¶
func ConvertURL ¶
Types ¶
type GWContext ¶
type GWContext struct { context.Context TracingID string ReRouteInfo *ReRouteInfo }
type ReRouteInfo ¶
Click to show internal directories.
Click to hide internal directories.