Versions in this module Expand all Collapse all v0 v0.1.2 Feb 6, 2024 Changes in this version + func InitSubscribe(c *net.Conn) error v0.1.1 Dec 8, 2023 Changes in this version + const HEADER_LEN + const IPC_TYPE_EVENT + const IPC_TYPE_GET_DWM_CLIENT + const IPC_TYPE_GET_LAYOUTS + const IPC_TYPE_GET_MONITORS + const IPC_TYPE_GET_TAGS + const IPC_TYPE_RUN_COMMAND + const IPC_TYPE_SUBSCRIBE + const MAGIC_LEN + func GenerateMessage(message []byte, message_type int) []byte + func SendStruct(c *net.Conn, msg_struct any, message_type int) error + type Client struct + Name string + type IPCGetDWMClientPayload struct + Id int + type IPCLayoutChangeEvent struct + Event struct{ ... } + type IPCSubscribePayload struct + Action string + Event string + type IPCTagChangeEvent struct + Event struct{ ... } + type Monitor struct + Clients struct{ ... } + IsSelected bool + Layout struct{ ... } + Number int + TagState TagChangeEventState + type Tag struct + BitMask int + IsActive bool + IsOccupied bool + IsUrgent bool + Name string + type TagChangeEventState struct + Occupied int + Selected int + Urgent int