1
0
Fork 0
mirror of https://github.com/pomerium/pomerium.git synced 2025-07-09 04:48:13 +02:00
pomerium/internal/contextkeys/contextkeys.go
2021-05-03 12:28:11 -04:00

15 lines
379 B
Go

// Package contextkeys defines common context keys shared between packages
package contextkeys
type contextKey int
const (
// DatabrokerConfigVersion identifies the uint64 databroker version of the config
DatabrokerConfigVersion contextKey = iota
)
func (x contextKey) String() string {
return map[contextKey]string{
DatabrokerConfigVersion: "db_config_version",
}[x]
}