Back to godoc.org
github.com/twitchtv/twirp/internal/contextkeys

package contextkeys

v5.11.0+incompatible
Latest Go to latest
Published: May 24, 2020 | License: Apache-2.0 | Module: github.com/twitchtv/twirp

Overview

Package contextkeys stores the keys to the context accessor functions, letting generated code safely set values in contexts without exposing the setters to the outside world.

Index

Constants

const (
	MethodNameKey contextKey = 1 + iota
	ServiceNameKey
	PackageNameKey
	StatusCodeKey
	RequestHeaderKey
	ResponseWriterKey
)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier