logic

package
v0.0.0-...-467d16e Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logic implements the core logic for podcmdr

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Implementation

type Implementation interface {
}

Implementation implements the logic of this

func NewImplementation

func NewImplementation() (Implementation, error)

NewImplementation returns a implementation of our logic layer

type Podcast

type Podcast struct {
	Slug         string             `msgpack:"slug"`
	Subscription subscription.State `msgpack:"sub_state"`
	Downloaded   map[string]string  `msgpack:"downloaded"`
	Options      PodcastOptions     `msgpack:"podcast_options"`
}

Podcast is the in memory representation of a podcast

type PodcastOptions

type PodcastOptions struct {
	DownloadDirectory *string `msgpack:"download_directory"`
	RecentEntries     *int    `msg:"recent_entries"`
}

PodcastOptions refers to the options we can have associated with a podcast

Jump to

Keyboard shortcuts

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