nwssend

package
v0.0.0-...-6ce7508 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeWsSend

type NodeWsSend struct {
	FlowNodeID           idwrap.IDWrap
	Name                 string
	WsConnectionNodeName string
	Message              string
}

NodeWsSend sends a message to a WebSocket connection established by a WsConnection node.

func New

func New(id idwrap.IDWrap, name string, wsConnectionNodeName string, message string) *NodeWsSend

func (*NodeWsSend) GetID

func (n *NodeWsSend) GetID() idwrap.IDWrap

func (*NodeWsSend) GetName

func (n *NodeWsSend) GetName() string

func (*NodeWsSend) GetOutputVariables

func (n *NodeWsSend) GetOutputVariables() []string

GetOutputVariables implements node.VariableIntrospector.

func (*NodeWsSend) GetRequiredVariables

func (n *NodeWsSend) GetRequiredVariables() []string

GetRequiredVariables implements node.VariableIntrospector.

func (*NodeWsSend) RunAsync

func (n *NodeWsSend) RunAsync(ctx context.Context, req *node.FlowNodeRequest, resultChan chan node.FlowNodeResult)

func (*NodeWsSend) RunSync

func (*NodeWsSend) SetID

func (n *NodeWsSend) SetID(id idwrap.IDWrap)

Jump to

Keyboard shortcuts

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