notify

package
v0.0.0-...-7f44f1c Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2018 License: BSD-3-Clause Imports: 5 Imported by: 34

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(message string)

Error broadcasts an error notification message, it's meant to be used by the cog user

func Success

func Success(message string)

Success broadcasts a success notification message, it's meant to be used by the cog user

Types

type Notify

type Notify struct {
	cog.UXCog
	// contains filtered or unexported fields
}

func NewNotify

func NewNotify() *Notify

func (*Notify) Cleanup

func (n *Notify) Cleanup()

func (*Notify) Start

func (n *Notify) Start() error

func (*Notify) StartListening

func (n *Notify) StartListening()

func (*Notify) StopListening

func (n *Notify) StopListening()

Jump to

Keyboard shortcuts

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