couch

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataService

type DataService struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, url string, opts ...Option) (*DataService, error)

func NewWithClient

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

func (*DataService) RoomConfig

func (d *DataService) RoomConfig(ctx context.Context, id string) (avcontrol.RoomConfig, error)

RoomConfig gets a room

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

func WithDatabase

func WithDatabase(database string) Option

Jump to

Keyboard shortcuts

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