couch

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, url string, opts ...Option) (pcconfig.ConfigService, error)

New creates a new ConfigService, created a couchdb client pointed at url.

func NewWithClient

func NewWithClient(ctx context.Context, client *kivik.Client, opts ...Option) (pcconfig.ConfigService, error)

NewWithClient creates a new ConfigService using the given client.

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option configures how we create the DataService.

func WithBasicAuth

func WithBasicAuth(username, password string) Option

Jump to

Keyboard shortcuts

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