dynamodb

package
v0.0.0-...-e9a2133 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteApp

func DeleteApp(appid int) error

DeleteApp deletes an app from the database.

func FindStaleApps

func FindStaleApps() []types.App

FindStaleApps finds apps that haven't been updated in an hour or more

func GetApp

func GetApp(appid int) *types.App

GetApp gets the information about an app.

func GetApps

func GetApps(pending bool) []int

GetApps returns all of the AppIDs in the table.

func GetFullApps

func GetFullApps(pending bool) map[string]*types.App

GetFullApps gets all of the information (i.e. more than just AppIDs) for the apps in the database

func Initialize

func Initialize()

Initialize and connect to DynamoDB

func PutApp

func PutApp(app types.App) error

PutApp updates or creates an app in the table with new information from a *types.App.

Types

This section is empty.

Jump to

Keyboard shortcuts

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