db

package
v0.0.0-...-37c696c Latest Latest
Warning

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

Go to latest
Published: May 21, 2018 License: MIT Imports: 6 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 {
	*dynamo.DB
	// contains filtered or unexported fields
}

DB is our database helper type.

func New

func New(aw *aws.AWS, logger *log.Logger) (*DB, error)

New creates a new DB instance.

func (*DB) CardsTable

func (d *DB) CardsTable() dynamo.Table

CardsTable returns the cards table ready to be used by guregu/dynamo.

func (*DB) TxTable

func (d *DB) TxTable() dynamo.Table

TxTable returns the transactions table ready to be used by guregu/dynamo.

Jump to

Keyboard shortcuts

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