Documentation ¶
Index ¶
- func EnsureBuckets(js nats.JetStreamContext, storageType nats.StorageType, names []string) error
- func Load(wf nats.KeyValue, k string) ([]byte, error)
- func LoadObj(wf nats.KeyValue, k string, v proto.Message) error
- func Save(wf nats.KeyValue, k string, v []byte) error
- func SaveObj(ctx context.Context, wf nats.KeyValue, k string, v proto.Message) error
- func UpdateKV(wf nats.KeyValue, k string, msg proto.Message, ...) error
- func UpdateObj[T proto.Message](wf nats.KeyValue, k string, msg T, updateFn func(v T) (T, error)) error
- type NatsConn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureBuckets ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.