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

Function encodeName

jetstream/object.go:633–635  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

631}
632
633func encodeName(name string) string {
634 return base64.URLEncoding.EncodeToString([]byte(name))
635}
636
637// Put will place the contents from the reader into this object-store.
638func (obs *obs) Put(ctx context.Context, meta ObjectMeta, r io.Reader) (*ObjectInfo, error) {

Callers 4

PutMethod · 0.70
publishMetaFunction · 0.70
GetInfoMethod · 0.70
UpdateMetaMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected