utils

package
v0.0.0-...-cd17b1e Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteItem

func DeleteItem(id string) error

DeleteItem deletes a connectionId item from DynamoDB

func GetItem

func GetItem(id string) (*model.Item, error)

GetItem gets a connectionId item from DynamoDB

func PostConnection

func PostConnection(item *model.Item, request events.APIGatewayWebsocketProxyRequest) error

PostConnection sends the request payload back to the client using the ConnectionId as the identifier.

func StoreItem

func StoreItem(id string) error

StoreItem saves a connectionId to DynamoDB

Types

This section is empty.

Jump to

Keyboard shortcuts

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