aws

package
v0.0.0-...-cf47146 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDynamoClient

func CreateDynamoClient() (*dynamodb.DynamoDB, error)

Creates a dynamo client

func GetAllItems

func GetAllItems(dynamoClient *dynamodb.DynamoDB, table string, v interface{}) (err error)

func GetRowCount

func GetRowCount(dynamoClient *dynamodb.DynamoDB, table string) (count int64, err error)

func PutItem

func PutItem(dynamoClient *dynamodb.DynamoDB, table string, v interface{}) error

Takes items in, marshals them, and then sends them to the database

func ReadAWSEnv

func ReadAWSEnv() (awsRegion string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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