Versions in this module Expand all Collapse all v0 v0.1.0 Apr 1, 2020 Changes in this version + const ACCOUNTS_GSI_NAME + const ACCOUNTS_TABLE + const DEVICES_GSI_NAME + const DEVICES_TABLE + type Account struct + AccountId string + Emails []string + Password string + Username string + type Client interface + GetAccountById func(id string) (*Account, error) + GetAccountByUsername func(username string) (*Account, error) + GetDeviceById func(id string) (*Device, error) + GetDevicesByAccount func(id string) ([]Device, error) + UpdateAccountEmails func(accountId string, emails []string) (*Account, error) + func New(sesh *session.Session) (Client, error) + type Device struct + AccountId string + DeviceId string + Name string