package
0.6.0
Repository: https://github.com/raystack/compass.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
FetchNamespaceFromContext if not found, fallback to default.
NamespaceUnaryInterceptor namespace can be passed in jwt token or headers, if none provided it falls back to default.
No description provided by the author
UserHeaderCtx middleware will propagate a valid user ID as string within request context use `user.FromContext` function to get the user ID string.

# Structs

NamespaceKey is injected in context with the tenant context.

# Interfaces

No description provided by the author
go:generate mockery --name=StatsDClient -r --case underscore --with-expecter --structname StatsDClient --filename statsd_monitor.go --output=./mocks.