notify

package
v0.0.0-...-0c8b20d Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JS = js.Global

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