Documentation ¶
Index ¶
- Constants
- func ToConsumerQueueName(pfx, topic string) string
- func ToSubject(topic string) string
- func ToTopic(subject string) string
- type Client
- func (r *Client) Consumer(ctx context.Context, stream string, cfg jetstream.ConsumerConfig) (c jetstream.Consumer, err error)
- func (r *Client) KVStore(ctx context.Context, cfg jetstream.KeyValueConfig) (kv jetstream.KeyValue, err error)
- func (r *Client) Stream(ctx context.Context, cfg jetstream.StreamConfig) (str jetstream.Stream, err error)
- type Gateway
Constants ¶
View Source
const EventStreamPrefix = "ev."
Variables ¶
This section is empty.
Functions ¶
func ToConsumerQueueName ¶
Given a user-specified topic, return the queue name to use for NATS consumers.
Types ¶
type Client ¶
Click to show internal directories.
Click to hide internal directories.