status

package
v0.7.13 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusCtrl

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

func NewCtrl

func NewCtrl(c *core.Core) *StatusCtrl

func (*StatusCtrl) AddStatus

func (s *StatusCtrl) AddStatus(key string, dur int)

func (*StatusCtrl) DeleteStatus

func (s *StatusCtrl) DeleteStatus(key string)

func (*StatusCtrl) Duration

func (s *StatusCtrl) Duration(key string) int

func (*StatusCtrl) ExtendStatus

func (s *StatusCtrl) ExtendStatus(key string, dur int)

Jump to

Keyboard shortcuts

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