platform

package
v0.0.0-...-f855965 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Transmission TransmissionConfig
	Kodi         KodiConfig
}

func NewConfigFromStrings

func NewConfigFromStrings(
	kodiAddress, kodiUsername, kodiPassword,
	trAddress, trUsername, trPassword string) Config

type KodiConfig

type KodiConfig struct {
	Address  string
	Username string
	Password string
}

type Platform

type Platform struct {
	Cron   *cron.Cron
	Config Config
}

func New

func New(c Config) *Platform

type TransmissionConfig

type TransmissionConfig struct {
	Address  string
	Username string
	Password string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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