Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // nats endpoint (comma separated urls are possible, eg "nats://one, nats://two"). URL string // Optional NATS options: nats.Connect(url, ...options) Options []nats.Option // Optional JetStream options: nc.JetStream(...options) JetStreamOptions []nats.JSOpt // Bucket is the Nats KV bucket. Bucket string // Prefix (optional). Prefix string }
type Nats ¶
type Nats struct {
// contains filtered or unexported fields
}
Nats implements the nats config provider.
Click to show internal directories.
Click to hide internal directories.