client

package
v4.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 1 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL