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

Method configureAck

js.go:1270–1273  ·  view source on GitHub ↗
(opts *ackOpts)

Source from the content-addressed store, hash-verified

1268}
1269
1270func (ttl AckWait) configureAck(opts *ackOpts) error {
1271 opts.ttl = time.Duration(ttl)
1272 return nil
1273}
1274
1275// ContextOpt is an option used to set a context.Context.
1276type ContextOpt struct {

Callers

nothing calls this directly

Calls 1

DurationMethod · 0.80

Tested by

no test coverage detected