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

Function encodeName

object.go:326–328  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

324}
325
326func encodeName(name string) string {
327 return base64.URLEncoding.EncodeToString([]byte(name))
328}
329
330// Put will place the contents from the reader into this object-store.
331func (obs *obs) Put(meta *ObjectMeta, r io.Reader, opts ...ObjectOpt) (*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