Documentation
¶
Index ¶
- func CORSMiddleware(next http.Handler) http.Handler
- func DebugHandler(w http.ResponseWriter, r *http.Request)
- func DebugHandlerJSON(w http.ResponseWriter, r *http.Request)
- func FormatRequest(r *http.Request) string
- func FormatResponse(r *http.Response) string
- func FormatResponseWriter(w http.ResponseWriter) string
- func LoggingMiddleware(next http.Handler) http.Handler
- func NewDebugClientTrace(prefix string) *httptrace.ClientTrace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugHandler ¶
func DebugHandler(w http.ResponseWriter, r *http.Request)
func DebugHandlerJSON ¶
func DebugHandlerJSON(w http.ResponseWriter, r *http.Request)
func FormatRequest ¶
func FormatResponse ¶
func FormatResponseWriter ¶
func FormatResponseWriter(w http.ResponseWriter) string
func NewDebugClientTrace ¶
func NewDebugClientTrace(prefix string) *httptrace.ClientTrace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.