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

Method configurePublish

js.go:1260–1263  ·  view source on GitHub ↗
(opts *pubOpts)

Source from the content-addressed store, hash-verified

1258type AckWait time.Duration
1259
1260func (ttl AckWait) configurePublish(opts *pubOpts) error {
1261 opts.ttl = time.Duration(ttl)
1262 return nil
1263}
1264
1265func (ttl AckWait) configureSubscribe(opts *subOpts) error {
1266 opts.cfg.AckWait = time.Duration(ttl)

Callers

nothing calls this directly

Calls 1

DurationMethod · 0.80

Tested by

no test coverage detected