db

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

DB is a wrapper around a trtl client to provide BFF-specific database interactions

func Connect

func Connect(conf config.DatabaseConfig) (db *DB, err error)

func DirectConnect

func DirectConnect(cc *grpc.ClientConn) (db *DB, err error)

func (*DB) Close

func (db *DB) Close() error

Jump to

Keyboard shortcuts

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