dynamodb

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

DB dynamodb client

Functions

func AppendTable

func AppendTable(t Tabler)

AppendTable append table

Types

type Database

type Database struct {
	Region          string        `yaml:"region" json:"region"`
	AccessKeyID     string        `yaml:"accessKeyID" json:"accessKeyID"`
	AccessSecretKey string        `yaml:"accessSecretKey" json:"accessSecretKey"`
	Timeout         time.Duration `yaml:"timeout" json:"timeout"`
}

Database database

func (*Database) Init

func (e *Database) Init()

Init init

type Tabler

type Tabler interface {
	TableName() string
	Make()
	C() *dynamodb.Client
}

Tabler ddb model interface

Jump to

Keyboard shortcuts

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