connection

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	Client    *dynamodb.Client
	TableName string
}

func (*Database) Add

func (udb *Database) Add(newConnection *manager.Connection) error

func (*Database) Delete

func (udb *Database) Delete(connectionID string) error

func (*Database) GetOne

func (udb *Database) GetOne(connectionID string) (*manager.Connection, error)

func (*Database) Update

func (udb *Database) Update(connectionID string, expr *expression.Expression) error

Jump to

Keyboard shortcuts

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