dynamodb

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DRV

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

func New

func New(ctx context.Context, keyPrefix string, conf config.DynamoDB) (DRV, error)

func (DRV) Close

func (drv DRV) Close()

func (DRV) Get

func (drv DRV) Get(k string, o any) error

func (DRV) GetTTL

func (drv DRV) GetTTL(k string) (time.Duration, error)

func (DRV) Set

func (drv DRV) Set(k string, v any, ttl ...time.Duration) error

Jump to

Keyboard shortcuts

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