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

Method apiSubj

js.go:447–455  ·  view source on GitHub ↗
(subj string)

Source from the content-addressed store, hash-verified

445}
446
447func (js *js) apiSubj(subj string) string {
448 if js.opts.pre == _EMPTY_ {
449 return subj
450 }
451 var b strings.Builder
452 b.WriteString(js.opts.pre)
453 b.WriteString(subj)
454 return b.String()
455}
456
457// PubOpt configures options for publishing JetStream messages.
458type PubOpt interface {

Callers 15

subscribeMethod · 0.95
AccountInfoMethod · 0.95
upsertConsumerMethod · 0.95
DeleteConsumerMethod · 0.95
AddStreamMethod · 0.95
StreamInfoMethod · 0.95
UpdateStreamMethod · 0.95
DeleteStreamMethod · 0.95
getMsgMethod · 0.95
deleteMsgMethod · 0.95
purgeStreamMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected