app

package
v0.0.0-...-19cfaaf Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2015 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version            = "0.1.0"
	Author             = "Tom Li"
	Email              = "nklizhe@gmail.com"
	DefaultMaxDuration = time.Duration(15) * time.Second
)

Variables

View Source
var (
	ErrNoKeyFound = errors.New("no key found")
	ErrNoUser     = errors.New("no user")
)

Functions

func NewDeleteCommand

func NewDeleteCommand(this *App) cli.Command

func NewListCommand

func NewListCommand(app *App) cli.Command

func NewPlayCommand

func NewPlayCommand(this *App) cli.Command

func NewSendCommand

func NewSendCommand(this *App) cli.Command

Types

type App

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

func NewApp

func NewApp() *App

func (*App) Run

func (this *App) Run()

type AppConfig

type AppConfig struct {
	CurrentUser string `json:"current_user,omitempty"`
}

Jump to

Keyboard shortcuts

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