global

package
v0.0.0-...-ae4999c Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Params   = New()
	Stats    = New()
	Messages = &messages{
		msgBoxes: map[string]*msgBox{},
	}
)

Functions

func AddMessage

func AddMessage(data interface{}, fn func(string, int64) bool)

func Close

func Close(uid string, userId int64)

func Create

func Create(uid string, userId int64)

func GetAllMessage

func GetAllMessage(uid string, userId int64) []*msg

func GetDevicePerf

func GetDevicePerf(device model.Device) map[string]interface{}

func GetDeviceStatus

func GetDeviceStatus(device model.Device) (int, string, time.Time)

func New

func New() *stats

func UpdateDevicePerf

func UpdateDevicePerf(device model.Device, data map[string]interface{})

func UpdateDeviceStatus

func UpdateDeviceStatus(device model.Device, index int, title string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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