StreamPurgeRequest is optional request information to the purge API.
| 1459 | |
| 1460 | // StreamPurgeRequest is optional request information to the purge API. |
| 1461 | type StreamPurgeRequest struct { |
| 1462 | // Purge up to but not including sequence. |
| 1463 | Sequence uint64 `json:"seq,omitempty"` |
| 1464 | // Subject to match against messages for the purge command. |
| 1465 | Subject string `json:"filter,omitempty"` |
| 1466 | // Number of messages to keep. |
| 1467 | Keep uint64 `json:"keep,omitempty"` |
| 1468 | } |
| 1469 | |
| 1470 | type streamPurgeResponse struct { |
| 1471 | apiResponse |
nothing calls this directly
no outgoing calls
no test coverage detected