GO-2024-3036: cortex establishes TLS connections with `InsecureSkipVerify` set to `true` in github.com/cortexproject/cortex
package
Version:
v1.9.0
Opens a new window with list of versions in this module.
Published: May 14, 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, *cortexpb.WriteRequest) (*cortexpb.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.