Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 572 Bytes
package ravendb
// using type alias for easy json serialization
type CommandType = string
// Note: this is enum in Java but those are serialized to json as strings so
// making them strings is better in Go
const (
//CommandNone = "NONE"
CommandPut = "PUT"
CommandPatch = "PATCH"
CommandDelete = "DELETE"
CommandAttachmentPut = "ATTACHMENT_PUT"
CommandAttachmentDelete = "ATTACHMENT_DELETE"
CommandClientAnyCommand = "CLIENT_ANY_COMMAND"
CommandClientNotAttachment = "CLIENT_NOT_ATTACHMENT"
You can’t perform that action at this time.