MCPcopy
hub / github.com/nats-io/nats.go / ObjectStore

Method ObjectStore

jetstream/object.go:46–46  ·  view source on GitHub ↗

ObjectStore will look up and bind to an existing object store instance. If the object store with given name does not exist, ErrBucketNotFound will be returned.

(ctx context.Context, bucket string)

Source from the content-addressed store, hash-verified

44 // If the object store with given name does not exist, ErrBucketNotFound
45 // will be returned.
46 ObjectStore(ctx context.Context, bucket string) (ObjectStore, error)
47
48 // CreateObjectStore will create a new object store with the given
49 // configuration.

Implementers 1

jetStreamjetstream/jetstream.go

Calls

no outgoing calls