WithDescription sets the NATS KV bucket description. Ignored for in-memory backend.
(desc string)
| 80 | |
| 81 | // WithDescription sets the NATS KV bucket description. Ignored for in-memory backend. |
| 82 | func WithDescription(desc string) Option { |
| 83 | return func(c *config) { c.description = desc } |
| 84 | } |
| 85 | |
| 86 | // WithReplicas sets the number of JetStream KV replicas for the NATS bucket. |
| 87 | // Defaults to 1 if not set. Set to match the cluster size (e.g. 3) for |
no outgoing calls
no test coverage detected