1
0
Fork 0
mirror of https://github.com/pomerium/pomerium.git synced 2025-05-15 18:17:49 +02:00
pomerium/internal/contextkeys/contextkeys.go

15 lines
375 B
Go

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