Documentation ¶
Index ¶
- func DeleteAllInventoryArchives(svc *dynamodb.DynamoDB) (err error)
- func DeleteInventoryArchive(key string, svc *dynamodb.DynamoDB) (err error)
- func GetLastActiveSession(key string, svc *dynamodb.DynamoDB) (time.Time, error)
- func SaveInventoryArchive(inventoryArchive InventoryArchive, svc *dynamodb.DynamoDB) (err error)
- func SaveLastActiveSession(key string, svc *dynamodb.DynamoDB) (err error)
- func SaveOauthToken(clientID string, token string, svc *dynamodb.DynamoDB) (err error)
- func SavePlexMovie(movie Movie, svc *dynamodb.DynamoDB) (err error)
- func SaveUpload(upload Upload, svc *dynamodb.DynamoDB) (err error)
- type InventoryArchive
- type Movie
- type OauthToken
- type PlexSession
- type Upload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteInventoryArchive ¶
func GetLastActiveSession ¶
func SaveInventoryArchive ¶
func SaveInventoryArchive(inventoryArchive InventoryArchive, svc *dynamodb.DynamoDB) (err error)
func SaveLastActiveSession ¶
func SaveOauthToken ¶
Types ¶
type InventoryArchive ¶
type InventoryArchive struct { ArchiveDescription string `json:"archive_description"` ArchiveID string `json:"archive_id"` CreationDate string `json:"creation_date"` SHA256TreeHash string `json:"sha256_tree_hash"` Size int `json:"size"` }
func AllInventoryArchives ¶
func AllInventoryArchives(svc *dynamodb.DynamoDB) (inventoryArchives []InventoryArchive, err error)
type Movie ¶
type OauthToken ¶
type PlexSession ¶
type Upload ¶
type Upload struct { Metadata plex.Metadata `json:"metadata"` ArchiveCreationOutput glacier.ArchiveCreationOutput `json:"archive_creation_output"` Title string `json:"title"` }
Click to show internal directories.
Click to hide internal directories.