console

package
v0.0.0-...-55fa497 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	WebSocket *socketio.Conn // Pointer so all device/gateway copies share the same connection
	WatchedID *int           // Pointer so all device copies share the same value
}

func (*Console) IsWatched

func (c *Console) IsWatched(deviceID int) bool

func (*Console) PrintLog

func (c *Console) PrintLog(message string)

func (*Console) PrintSocket

func (c *Console) PrintSocket(eventName string, data ...interface{})

func (*Console) SetupWebSocket

func (c *Console) SetupWebSocket(WebSocket *socketio.Conn)

Jump to

Keyboard shortcuts

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