ctx

package
v0.12.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2019 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderUUIDAPI    = "X-CTX-CarbonAPI-UUID"
	HeaderUUIDZipper = "X-CTX-CarbonZipper-UUID"
)

Variables

This section is empty.

Functions

func GetUUID

func GetUUID(ctx context.Context) string

func MarshalCtx

func MarshalCtx(ctx context.Context, response *http.Request, uuidKey string) *http.Request

func ParseCtx

func ParseCtx(h http.HandlerFunc, uuidKey string) http.HandlerFunc

func SetUUID

func SetUUID(ctx context.Context, v string) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL