Versions in this module Expand all Collapse all v5 v5.0.1 Apr 10, 2026 Changes in this version + var ErrEmptyTopicName = platformerrors.New("empty topic name") + type Consumer interface + Consume func(ctx context.Context, stopChan chan bool, errors chan error) + type ConsumerFunc func(context.Context, []byte) error + type ConsumerProvider interface + ProvideConsumer func(ctx context.Context, topic string, handlerFunc ConsumerFunc) (Consumer, error) + type Publisher interface + Publish func(ctx context.Context, data any) error + PublishAsync func(ctx context.Context, data any) + Stop func() + type PublisherProvider interface + Close func() + Ping func(ctx context.Context) error + ProvidePublisher func(ctx context.Context, topic string) (Publisher, error) Other modules containing this package github.com/verygoodsoftwarenotvirus/platform github.com/verygoodsoftwarenotvirus/platform/v2 github.com/verygoodsoftwarenotvirus/platform/v3 github.com/verygoodsoftwarenotvirus/platform/v4