Versions in this module Expand all Collapse all v1 v1.0.0 Jun 23, 2023 Changes in this version + type SharedComponent struct + func (r *SharedComponent[V]) Shutdown(ctx context.Context) error + func (r *SharedComponent[V]) Start(ctx context.Context, host component.Host) error + func (r *SharedComponent[V]) Unwrap() V + type SharedComponents struct + func NewSharedComponents() *SharedComponents[K, V] + func (scs *SharedComponents[K, V]) GetOrAdd(key K, create func() (V, error)) (*SharedComponent[V], error)