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

Method String

js.go:3782–3795  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3780}
3781
3782func (p AckPolicy) String() string {
3783 switch p {
3784 case AckNonePolicy:
3785 return "AckNone"
3786 case AckAllPolicy:
3787 return "AckAll"
3788 case AckExplicitPolicy:
3789 return "AckExplicit"
3790 case ackPolicyNotSet:
3791 return "Not Initialized"
3792 default:
3793 return "Unknown AckPolicy"
3794 }
3795}
3796
3797// ReplayPolicy determines how the consumer should replay messages it already has queued in the stream.
3798type ReplayPolicy int

Callers 5

apiSubjMethod · 0.45
PublishMsgMethod · 0.45
newAsyncReplyMethod · 0.45
PublishMsgAsyncMethod · 0.45
newFetchInboxFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected