Documentation
¶
Index ¶
- Constants
- func ConnectionStartTimeFromContext(ctx context.Context) (t time.Time, ok bool)
- func ContextWithConnectionStartTime(ctx context.Context, t time.Time) context.Context
- func ContextWithTenantID(ctx context.Context, tenantID string) context.Context
- func MaxConnectionAgeHandler(next http.Handler, maxConnectionAge time.Duration) http.Handler
- func TenantIDFromContext(ctx context.Context) string
- func TenantIDHandler(next http.Handler) http.Handler
- func WithClock(c Clock)
- type Clock
Constants ¶
View Source
const (
HTTPHeaderTenantID = "X-Scope-OrgID"
)
Variables ¶
This section is empty.
Functions ¶
func ContextWithTenantID ¶
func MaxConnectionAgeHandler ¶
func TenantIDFromContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.