Documentation
¶
Index ¶
- func ContextWith[T any](ctx context.Context, service T) context.Context
- func ContextWithDefaultRegistry(ctx context.Context) context.Context
- func ContextWithPtr[T any](ctx context.Context, servicePtr *T) context.Context
- func ContextWithRegistry(ctx context.Context, registry Registry) context.Context
- func FromContext[T any](ctx context.Context) T
- func PtrFromContext[T any](ctx context.Context) *T
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithPtr ¶
func ContextWithRegistry ¶
func FromContext ¶
func PtrFromContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.