github.com/altipla-consulting/ravendb-go-client@v0.1.3/command_type.go (about) 1 package ravendb 2 3 // using type alias for easy json serialization 4 type CommandType = string 5 6 // Note: this is enum in Java but those are serialized to json as strings so 7 // making them strings is better in Go 8 const ( 9 //CommandNone = "NONE" 10 CommandPut = "PUT" 11 CommandPatch = "PATCH" 12 CommandDelete = "DELETE" 13 CommandAttachmentPut = "ATTACHMENT_PUT" 14 CommandAttachmentDelete = "ATTACHMENT_DELETE" 15 CommandClientAnyCommand = "CLIENT_ANY_COMMAND" 16 CommandClientNotAttachment = "CLIENT_NOT_ATTACHMENT" 17 )