Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPublishPrefix = "node.publish" DefaultDiscoveryPrefix = "node.discovery" DefaultLivecycle = 2 * time.Second DefaultExpire = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { ID string // Component *module.Component //optional Module *module.ModuleVersion // How node looks like Graph *structpb.Struct // Realtime stats Stats *structpb.Struct WorkspaceID string // which server is running the node ServerID string FlowID *string // optional }
Node represents a node info
Click to show internal directories.
Click to hide internal directories.