couchbase

package
v1.1.66 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	ElasticsearchClient *elasticsearch.Client
	EventTime           time.Time
	CollectionName      string
	Key                 []byte
	Value               []byte
	Cas                 uint64
	VbID                uint16
	IsDeleted           bool
	IsExpired           bool
	IsMutated           bool
	SeqNo               uint64
	RevNo               uint64
}

func NewDeleteEvent

func NewDeleteEvent(
	esClient *elasticsearch.Client,
	key []byte, value []byte,
	collectionName string, cas uint64, eventTime time.Time, vbID uint16, seqNo uint64, revNo uint64,
) Event

func NewExpireEvent

func NewExpireEvent(
	esClient *elasticsearch.Client,
	key []byte, value []byte,
	collectionName string, cas uint64, eventTime time.Time, vbID uint16, seqNo uint64, revNo uint64,
) Event

func NewMutateEvent

func NewMutateEvent(
	esClient *elasticsearch.Client,
	key []byte, value []byte,
	collectionName string, cas uint64, eventTime time.Time, vbID uint16, seqNo uint64, revNo uint64,
) Event

Jump to

Keyboard shortcuts

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