Started implementation of direct gets by subject

This commit is contained in:
Jeremy Saenz
2022-08-03 09:50:45 -07:00
parent 59d7d9ccc7
commit 1eb8a22c21
2 changed files with 17 additions and 0 deletions

3
js.go
View File

@@ -169,6 +169,9 @@ const (
// apiMsgGetT is the endpoint to perform a direct get of a message.
apiDirectMsgGetT = "DIRECT.GET.%s"
// apiDirectMsgGetLastBySubjectT is the endpoint to perform a direct get of a message by subject.
apiDirectMsgGetLastBySubjectT = "DIRECT.GET.%s.%s"
// apiMsgDeleteT is the endpoint to remove a message.
apiMsgDeleteT = "STREAM.MSG.DELETE.%s"