Documentation ¶
Index ¶
- Constants
- func GetLogHeaders(ctx context.Context) map[string]string
- func GetMaxDatapoints(ctx context.Context) int64
- func GetPassHeaders(ctx context.Context) map[string]string
- func GetUUID(ctx context.Context) string
- func MarshalCtx(ctx context.Context, response *http.Request, uuidKey string) *http.Request
- func MarshalPassHeaders(ctx context.Context, response *http.Request) *http.Request
- func ParseCtx(h http.HandlerFunc, uuidKey string) http.HandlerFunc
- func SetLogHeaders(ctx context.Context, h map[string]string) context.Context
- func SetMaxDatapoints(ctx context.Context, h int64) context.Context
- func SetPassHeaders(ctx context.Context, h map[string]string) context.Context
- func SetUUID(ctx context.Context, v string) context.Context
Constants ¶
View Source
const ( HeaderUUIDAPI = "X-CTX-CarbonAPI-UUID" HeaderUUIDZipper = "X-CTX-CarbonZipper-UUID" )
Variables ¶
This section is empty.
Functions ¶
func GetMaxDatapoints ¶ added in v0.14.0
func MarshalCtx ¶
func MarshalPassHeaders ¶ added in v0.12.1
func ParseCtx ¶
func ParseCtx(h http.HandlerFunc, uuidKey string) http.HandlerFunc
func SetLogHeaders ¶ added in v0.12.1
func SetMaxDatapoints ¶ added in v0.14.0
func SetPassHeaders ¶ added in v0.12.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.