Versions in this module Expand all Collapse all v1 v1.0.0 Feb 25, 2020 Changes in this version + func GetAllUsers(client *dynamodb.DynamoDB) (users []structs.User, err error) + func GetRequestsSince(threshold int64, client *dynamodb.DynamoDB) (requests []structs.Request, err error) + func IsUserAdmin(userID int, client *dynamodb.DynamoDB) (isAdmin bool, err error) + func PutRequest(userID int, url string, client *dynamodb.DynamoDB) error + func PutUser(userID int, client *dynamodb.DynamoDB) error + func UpdateUserBlockStatus(userID int, hasBlockedBot bool, client *dynamodb.DynamoDB) (err error)