common

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package common contains logic and data structures shared by various kivik backends. It is not meant to be used directly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is a shared core between Kivik backends.

func NewClient

func NewClient(version, vendor string) *Client

NewClient returns a new client core.

func (*Client) Version

func (c *Client) Version(_ context.Context) (*driver.Version, error)

Version returns the configured server info.

Jump to

Keyboard shortcuts

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