Affected by GO-2022-0915
and 1 other vulnerabilities
GO-2022-0915: Improper input validation in CNCF Cortex in github.com/cortexproject/cortex
GO-2024-3036: cortex establishes TLS connections with `InsecureSkipVerify` set to `true` in github.com/cortexproject/cortex
package
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Mar 25, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
func Handler(maxRecvMsgSize int, sourceIPs *middleware.SourceIPExtractor, push Func) http.Handler
Handler is a http.Handler which accepts WriteRequests.
type Func func(context.Context, *client.WriteRequest) (*client.WriteResponse, error)
Func defines the type of the push. It is similar to http.HandlerFunc.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.