Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func GetLogHeaders(ctx context.Context) map[string]string
 - 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 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 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 SetPassHeaders ¶ added in v0.12.1
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.