kvdynamodb

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions = Options{
	Region: "eu-west-1",
}

DefaultOptions of the client

Functions

This section is empty.

Types

type Client

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

Client ...

func NewClient

func NewClient(options Options) (Client, error)

NewClient ...

func (Client) Close

func (c Client) Close() error

Close ...

func (Client) Delete

func (c Client) Delete(k string) error

Delete ...

func (Client) Get

func (c Client) Get(k string, v interface{}) (bool, error)

Get ...

func (Client) Store

func (c Client) Store(k string, v interface{}) error

Store ...

type Options

type Options struct {
	Region    string
	TableName string
	HashKey   string
}

Options of the client

Jump to

Keyboard shortcuts

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