Include config in info for msgset

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2019-12-10 22:00:20 +01:00
parent 8a29444616
commit b3b2feebc5
5 changed files with 44 additions and 13 deletions

View File

@@ -36,6 +36,11 @@ type MsgSetConfig struct {
NoAck bool `json:"no_ack,omitempty"`
}
type MsgSetInfo struct {
Config MsgSetConfig `json:"name"`
Stats MsgSetStats `json:"stats"`
}
// RetentionPolicy determines how messages in a set are retained.
type RetentionPolicy int