notify

package
v0.0.0-...-42531b2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2016 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Notify

func Notify(s string) error

func NotifySend

func NotifySend(args NotifySendArgs) *exec.Cmd

func WaitForWrite

func WaitForWrite(path string) error

WaitForWrite waits until the file has been written

Types

type Jtalk

type Jtalk struct {
	Voice      string
	Dictionary string
	TmpDir     string
}

Jtalk is about open_jtalk

func (*Jtalk) MakeWavFile

func (j *Jtalk) MakeWavFile(words string) error

MakeWavFile makes .wav file

func (*Jtalk) Play

func (j *Jtalk) Play(m gobou.JtalkMessage)

Play is

type Notifier

type Notifier interface {
	NotifyCommand() exec.Cmd
}

type NotifySendArgs

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

NotifySendArgs is argment for notify-send urgency must be low, normal, or critical expireTime is millisecond icon is

func (NotifySendArgs) Args

func (args NotifySendArgs) Args() []string

Jump to

Keyboard shortcuts

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