client

package
v1.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

D is single instance of client.

View Source
var ErrUnknownProtocol = fmt.Errorf("unknown protocol set by TIGRIS_PROTOCOL. allowed: grpc, http, https")

M is single instance of auth service client.

Functions

func Get

func Get() driver.Driver

Get returns an instance of client.

func Init

func Init(config *config.Config) error

func InitLow

func InitLow() error

func ManagementGet

func ManagementGet() driver.Management

ManagementGet returns an instance of authentication API client.

func Transact

func Transact(bctx context.Context, db string, fn func(ctx context.Context, tx driver.Tx))

Types

This section is empty.

Jump to

Keyboard shortcuts

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