Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper struct { JsClient JetStreamClient JsSubscriber JetStreamSubscriber Config }
func (*Helper) SetJetStreamSubscriber ¶
func (*Helper) SetNatsJetStreamClient ¶
func (h *Helper) SetNatsJetStreamClient()
type JetStreamClient ¶
type JetStreamClient interface { StreamInfo(stream string, opts ...nats.JSOpt) (*nats.StreamInfo, error) AddStream(*nats.StreamConfig, ...nats.JSOpt) (*nats.StreamInfo, error) Publish(string, []byte, ...nats.PubOpt) (*nats.PubAck, error) PullSubscribe(string, string, ...nats.SubOpt) (*nats.Subscription, error) }
type JetStreamSubscriber ¶
Click to show internal directories.
Click to hide internal directories.