Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
LogEnabled bool // Enable log
LogResponseBodyEnabled bool // Enable log for response body
LogHeaderEnabled bool // Enable header logging
LogPrefix string // Log Prefix
Logger *log.Logger // Logger instance
Interceptor func(req *http.Request) error // Intercept request
Timeout int // Timeout seconds
}
Click to show internal directories.
Click to hide internal directories.