dynamodb

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamoDB

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

func New

func New(dbName database.Name) *DynamoDB

func (*DynamoDB) Delete

func (d *DynamoDB) Delete(key string) error

func (*DynamoDB) Get

func (d *DynamoDB) Get(key string) ([]byte, error)

func (*DynamoDB) GetListWithPrefix

func (d *DynamoDB) GetListWithPrefix(prefix string, limit int64) ([]string, error)

func (*DynamoDB) GetString

func (d *DynamoDB) GetString(key string) (string, error)

func (*DynamoDB) Set

func (d *DynamoDB) Set(key string, value any, expiration time.Duration)

func (*DynamoDB) SetWithSortKey

func (d *DynamoDB) SetWithSortKey(pk string, sk string, value any, expiration time.Duration)

Jump to

Keyboard shortcuts

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