gobou

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: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(obj interface{})

Register connect your type to pingo

Types

type JtalkMessage

type JtalkMessage struct {
	Text string
}

JtalkMessage is for open_jtalk command

func (*JtalkMessage) IsNone

func (m *JtalkMessage) IsNone() bool

IsNone for JtalkMessage

type Message

type Message struct {
	StdoutMessage StdoutMessage
	NotifyMessage NotifyMessage
	JtalkMessage  JtalkMessage
}

Message should be used by main plugin tasks

func Notify

func Notify(s string) Message

Notify returns simple message for notify-send

func NotifyWithTitle

func NotifyWithTitle(title, text string) Message

NotifyWithTitle returns simple message for notify-send

func Print

func Print(s string) Message

Print returns simple message for stdout

func Say

func Say(s string) Message

Say returns simple message for open_jtalk

func (*Message) IsNone

func (m *Message) IsNone() bool

IsNone for Message

type NotifyMessage

type NotifyMessage struct {
	Title string
	Text  string
	Icon  string
}

NotifyMessage is for notify-send command

func (*NotifyMessage) IsNone

func (m *NotifyMessage) IsNone() bool

IsNone for NotifyMessage

type StdoutMessage

type StdoutMessage struct {
	Text string
}

StdoutMessage is for stdout

func (*StdoutMessage) IsNone

func (m *StdoutMessage) IsNone() bool

IsNone for StdoutMessage

Jump to

Keyboard shortcuts

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