client

package
v4.25.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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