poddata

package
v0.0.0-...-473f5cf Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package poddata is the DAL for ep. It's responsible for persistent data storage. Information such as the podcasts added, the episodes currently synced, et cetera.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data is the wrapper struct for our GORM object, and contains methods to interact with the persistent storage.

func New

func New(confPath string) (Data, error)

New creates a new instance of the Data access object

func (Data) Subscriptions

func (d Data) Subscriptions() subscription.SubHandler

Subscriptions returns the sub-handler for subscriptions which contains subscription-related methods

Directories

Path Synopsis
Package subscription holds the data types for subscriptions and podcast episodes
Package subscription holds the data types for subscriptions and podcast episodes

Jump to

Keyboard shortcuts

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