Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotificationStream ¶
Types ¶
type Nats ¶
type Nats interface {
CreateOrUpdateNewConsumer(ctx context.Context, streamName string, jsConfig *jetstream.ConsumerConfig) (jetstream.Consumer, error)
CreateOrUpdateNewStream(ctx context.Context, jsConfig *jetstream.StreamConfig) error
Publish(ctx context.Context, subject string, payload []byte) (*jetstream.PubAck, error)
GetJetStream() jetstream.JetStream
}
Click to show internal directories.
Click to hide internal directories.