message

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 9 Imported by: 1

Documentation

Overview

Package message provides the message window widget.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw()

Draw the message window.

func Error

func Error(e error)

Error notifies an error message.

func Errorf

func Errorf(format string, a ...interface{})

Errorf notifies a formated error message.

func Info

func Info(s string)

Info notifies an information message.

func Infof

func Infof(format string, a ...interface{})

Infof notifies a formated information message.

func Init

func Init()

Init initializes the message works asynchronously.

func Resize

func Resize(x, y, width, height int)

Resize the message window.

func ResizeRelative

func ResizeRelative(x, y, width, height int)

ResizeRelative resizes relative to current size.

func Sec

func Sec(sec time.Duration)

Sec sets a display second for the message.

func SetErrorLog

func SetErrorLog(path string)

SetErrorLog sets a path to log error messages. If sets to "", non logging.

func SetInfoLog

func SetInfoLog(path string)

SetInfoLog sets a path to log information messages. If sets to "", non logging.

Types

This section is empty.

Jump to

Keyboard shortcuts

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