Documentation ¶
Index ¶
- Variables
- type HttpConfig
- func (c *HttpConfig) WithHttpConfig(conf HttpConfig) *HttpConfig
- func (c *HttpConfig) WithMethodIgnored(methodIgnoredMap map[string]bool) *HttpConfig
- func (c *HttpConfig) WithPathCleanUp(pathCleanUpMap map[*regexp.Regexp]string) *HttpConfig
- func (c *HttpConfig) WithPathIgnored(pathIgnoredMap map[string]bool) *HttpConfig
- func (c *HttpConfig) WithStatusIgnored(statusIgnoredMap map[int]bool) *HttpConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricIncomingHttpRequest *prometheus.HistogramVec MetricOutgoingHttpRequest *prometheus.HistogramVec )
Functions ¶
This section is empty.
Types ¶
type HttpConfig ¶
type HttpConfig struct { PathCleanUpMap map[*regexp.Regexp]string PathIgnoredMap map[string]bool StatusIgnoredMap map[int]bool MethodIgnoreMap map[string]bool }
func NewDefaultIncomingHttpConfig ¶
func NewDefaultIncomingHttpConfig() *HttpConfig
func NewDefaultOutgoingHttpConfig ¶
func NewDefaultOutgoingHttpConfig() *HttpConfig
func NewEmptyHttpConfig ¶
func NewEmptyHttpConfig() *HttpConfig
func NewHttpConfig ¶
func (*HttpConfig) WithHttpConfig ¶
func (c *HttpConfig) WithHttpConfig(conf HttpConfig) *HttpConfig
func (*HttpConfig) WithMethodIgnored ¶
func (c *HttpConfig) WithMethodIgnored(methodIgnoredMap map[string]bool) *HttpConfig
func (*HttpConfig) WithPathCleanUp ¶
func (c *HttpConfig) WithPathCleanUp(pathCleanUpMap map[*regexp.Regexp]string) *HttpConfig
func (*HttpConfig) WithPathIgnored ¶
func (c *HttpConfig) WithPathIgnored(pathIgnoredMap map[string]bool) *HttpConfig
func (*HttpConfig) WithStatusIgnored ¶
func (c *HttpConfig) WithStatusIgnored(statusIgnoredMap map[int]bool) *HttpConfig
Click to show internal directories.
Click to hide internal directories.