plex

package
v0.0.0-...-080782a Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2014 License: ISC Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(name string, params map[string]string) (targets.Target, error)

Create a new instance of this target

func Register

func Register()

Register this package in the target list

Types

type Plex

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

Plex struct hold all the Plex information

func (*Plex) Commands

func (d *Plex) Commands() map[string]*targets.Command

func (*Plex) SendCommand

func (p *Plex) SendCommand(cmd string, args ...string) error

SendCommand receives the command from the dispatcher

func (*Plex) ServeHTTP

func (p *Plex) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Plex) Stop

func (d *Plex) Stop() error

Jump to

Keyboard shortcuts

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