config

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Couchbaseconfig

type Couchbaseconfig struct {
	HostName   string // Hostname of the SQL server
	Port       int64  // Port number of the SQL server
	UserName   string // Username part of the SQL server credentials
	Password   string // Password for UserName
	Bucket     string // bucket to open
	BucketPass string // bucket to open
}

func (*Couchbaseconfig) Connect

func (c *Couchbaseconfig) Connect() (*gocb.Cluster, error)

func (*Couchbaseconfig) String

func (c *Couchbaseconfig) String() string

func (*Couchbaseconfig) URL

func (c *Couchbaseconfig) URL() string

func (*Couchbaseconfig) Values

func (c *Couchbaseconfig) Values(hostName string, port int64, userName, password, bucket, bucketPass string)

Jump to

Keyboard shortcuts

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