Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogrusLevel ¶ added in v0.4.0
Uses <= comparisons to handle custom log levels (e.g. trace as LevelDebug-4).
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (Component) RegisterHttpHandlers ¶
type Config ¶
type Config struct {
Enabled bool `koanf:"enabled"`
TracingConfig TracingConfig
}
type ProxyRequestRewriter ¶
type ProxyRequestRewriter func(request *httputil.ProxyRequest)
func RemovePrefixRewriter ¶
func RemovePrefixRewriter(prefix string) ProxyRequestRewriter
type TracingConfig ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.