Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigSpec ¶
func NewConfigSpec() *service.ConfigSpec
NewConfigSpec constructs a new Couchbase ConfigSpec with common config fields
Types ¶
type Operation ¶
type Operation string
Operation represents the operation that will be performed by Couchbase.
const ( // OperationGet Get operation. OperationGet Operation = "get" // OperationInsert Insert operation. OperationInsert Operation = "insert" // OperationRemove Delete operation. OperationRemove Operation = "remove" // OperationReplace Replace operation. OperationReplace Operation = "replace" // OperationUpsert Upsert operation. OperationUpsert Operation = "upsert" )
type Transcoder ¶
type Transcoder string
Transcoder represents the transcoder that will be used by Couchbase.
const ( // TranscoderRaw raw operation. TranscoderRaw Transcoder = "raw" // TranscoderRawJSON rawjson transcoder. TranscoderRawJSON Transcoder = "rawjson" // TranscoderRawString rawstring transcoder. TranscoderRawString Transcoder = "rawstring" // TranscoderJSON JSON transcoder. TranscoderJSON Transcoder = "json" // TranscoderLegacy Legacy transcoder. TranscoderLegacy Transcoder = "legacy" )
Click to show internal directories.
Click to hide internal directories.