Documentation ¶
Index ¶
- func AuthTokenFromContext(ctx context.Context) (*fbauth.Token, error)
- func AuthTokenFromMeta(meta metadata.MD) (string, error)
- func NamespaceFromContext(ctx context.Context) (string, error)
- func ProcedureFromContext(ctx context.Context) (string, error)
- func QualifiedWorkspaceFromContext(ctx context.Context) (string, error)
- func SubscriptionFromContext(ctx context.Context) (string, error)
- func UserFromContext(ctx context.Context) (string, error)
- func UserRecordFromContext(ctx context.Context) (*fbauth.UserRecord, error)
- func WorkspaceFromContext(ctx context.Context) (string, error)
- func WorkspaceFromMeta(meta metadata.MD) (string, error)
- type ContextKeyNamespace
- type ContextKeyProcedure
- type ContextKeyQualifiedWorkspace
- type ContextKeySubscription
- type ContextKeyToken
- type ContextKeyUser
- type ContextKeyUserRecord
- type ContextKeyWorkspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QualifiedWorkspaceFromContext ¶ added in v0.1.7
func UserRecordFromContext ¶ added in v0.1.5
func UserRecordFromContext(ctx context.Context) (*fbauth.UserRecord, error)
Types ¶
type ContextKeyNamespace ¶
type ContextKeyNamespace struct{}
type ContextKeyProcedure ¶
type ContextKeyProcedure struct{}
type ContextKeyQualifiedWorkspace ¶ added in v0.1.7
type ContextKeyQualifiedWorkspace struct{}
type ContextKeySubscription ¶
type ContextKeySubscription struct{}
type ContextKeyToken ¶
type ContextKeyToken struct{}
type ContextKeyUser ¶
type ContextKeyUser struct{}
type ContextKeyUserRecord ¶ added in v0.1.5
type ContextKeyUserRecord struct{}
type ContextKeyWorkspace ¶
type ContextKeyWorkspace struct{}
Click to show internal directories.
Click to hide internal directories.