Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name ... Name = "node" // TopicPluginNode ... TopicPluginNode = "system/plugins/node" Version = "0.0.1" )
View Source
const ( // AttrThread ... AttrThread = "thread" // AttrRps ... AttrRps = "rps" // AttrMin ... AttrMin = "min" // AttrMax ... AttrMax = "max" // AttrLatency ... AttrLatency = "latency" // AttrStartedAt ... AttrStartedAt = "started_at" // AttrNodeLogin ... AttrNodeLogin = "node_login" // AttrNodePass ... AttrNodePass = "node_pass" )
Variables ¶
View Source
var F embed.FS
Functions ¶
Types ¶
type Actor ¶
type Actor struct { *supervisor.BaseActor // contains filtered or unexported fields }
Actor ...
type MessageRequest ¶
type MessageRequest struct { EntityId common.EntityId `json:"entity_id"` DeviceType DeviceType `json:"device_type"` Properties json.RawMessage `json:"properties"` Command json.RawMessage `json:"command"` }
MessageRequest ...
type MessageResponse ¶
type MessageResponse struct { EntityId common.EntityId `json:"entity_id"` DeviceType DeviceType `json:"device_type"` Properties json.RawMessage `json:"properties"` Response json.RawMessage `json:"response"` Status string `json:"status"` }
MessageResponse ...
Click to show internal directories.
Click to hide internal directories.