couchbase

package
v0.0.0-...-ecab513 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Couchbase

type Couchbase struct {
	Conn    *gocb.Cluster
	ConnErr error
	Conf    *cbconfig.Couchbaseconfig
}

func (*Couchbase) Connect

func (c *Couchbase) Connect() error

func (*Couchbase) OpenBucket

func (c *Couchbase) OpenBucket() (*gocb.Bucket, error)

func (*Couchbase) Upsert

func (c *Couchbase) Upsert(key string, value interface{}) (gocb.Cas, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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