{"modulePath":"github.com/GoCodeAlone/workflow-plugin-websocket","version":"v0.5.6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package websocketv1\n\n## Variables\n\n```go\nvar File_websocket_proto protoreflect.FileDescriptor\n```\n\n## Types\n\n```go\ntype WSCloseConfig struct {\n\n\t// connection_id is the UUID of the WebSocket connection to close.\n\tConnectionId string `protobuf:\"bytes,1,opt,name=connection_id,json=connectionId,proto3\" json:\"connection_id,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nWSCloseConfig is the typed config for step.ws\\_close.\n\n```go\nfunc (*WSCloseConfig) Descriptor() ([]byte, []int)\n```\nDeprecated: Use WSCloseConfig.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *WSCloseConfig) GetConnectionId() string\n```\n\n```go\nfunc (*WSCloseConfig) ProtoMessage()\n```\n\n```go\nfunc (x *WSCloseConfig) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *WSCloseConfig) Reset()\n```\n\n```go\nfunc (x *WSCloseConfig) String() string\n```\n\n```go\ntype WSCloseInput struct {\n\tData *structpb.Struct `protobuf:\"bytes,1,opt,name=data,proto3\" json:\"data,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nWSCloseInput carries optional runtime overrides for step.ws\\_close.\n\n```go\nfunc (*WSCloseInput) Descriptor() ([]byte, []int)\n```\nDeprecated: Use WSCloseInput.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *WSCloseInput) GetData() *structpb.Struct\n```\n\n```go\nfunc (*WSCloseInput) ProtoMessage()\n```\n\n```go\nfunc (x *WSCloseInput) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *WSCloseInput) Reset()\n```\n\n```go\nfunc (x *WSCloseInput) String() string\n```\n\n```go\ntype WSCloseOutput struct {\n\n\t// closed is true when the connection was found and closed.\n\tClosed bool `protobuf:\"varint,1,opt,name=closed,proto3\" json:\"closed,omitempty\"`\n\t// error is populated when the close failed (ws.server not initialized).\n\tError string `protobuf:\"bytes,2,opt,name=error,proto3\" json:\"error,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nWSCloseOutput is the result of step.ws\\_close.\n\n```go\nfunc (*WSCloseOutput) Descriptor() ([]byte, []int)\n```\nDeprecated: Use WSCloseOutput.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *WSCloseOutput) GetClosed() bool\n```\n\n```go\nfunc (x *WSCloseOutput) GetError() string\n```\n\n```go\nfunc (*WSCloseOutput) ProtoMessage()\n```\n\n```go\nfunc (x *WSCloseOutput) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *WSCloseOutput) Reset()\n```\n\n```go\nfunc (x *WSCloseOutput) String() string\n```\n\n```go\ntype WSSendConfig struct {\n\n\t// connection_id is the UUID of the WebSocket connection to send the message to.\n\tConnectionId string `protobuf:\"bytes,1,opt,name=connection_id,json=connectionId,proto3\" json:\"connection_id,omitempty\"`\n\t// message is the text payload to deliver.\n\tMessage string `protobuf:\"bytes,2,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nWSSendConfig is the typed config for step.ws\\_send.\n\n```go\nfunc (*WSSendConfig) Descriptor() ([]byte, []int)\n```\nDeprecated: Use WSSendConfig.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *WSSendConfig) GetConnectionId() string\n```\n\n```go\nfunc (x *WSSendConfig) GetMessage() string\n```\n\n```go\nfunc (*WSSendConfig) ProtoMessage()\n```\n\n```go\nfunc (x *WSSendConfig) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *WSSendConfig) Reset()\n```\n\n```go\nfunc (x *WSSendConfig) String() string\n```\n\n```go\ntype WSSendInput struct {\n\tData *structpb.Struct `protobuf:\"bytes,1,opt,name=data,proto3\" json:\"data,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nWSSendInput carries optional runtime overrides for step.ws\\_send.\n\n```go\nfunc (*WSSendInput) Descriptor() ([]byte, []int)\n```\nDeprecated: Use WSSendInput.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *WSSendInput) GetData() *structpb.Struct\n```\n\n```go\nfunc (*WSSendInput) ProtoMessage()\n```\n\n```go\nfunc (x *WSSendInput) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *WSSendInput) Reset()\n```\n\n```go\nfunc (x *WSSendInput) String() string\n```\n\n```go\ntype WSSendOutput struct {\n\n\t// sent is true when the message was delivered to the connection.\n\tSent bool `protobuf:\"varint,1,opt,name=sent,proto3\" json:\"sent,omitempty\"`\n\t// error is populated when the send failed (ws.server not initialized, missing connectionId).\n\tError string `protobuf:\"bytes,2,opt,name=error,proto3\" json:\"error,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nWSSendOutput is the result of step.ws\\_send.\n\n```go\nfunc (*WSSendOutput) Descriptor() ([]byte, []int)\n```\nDeprecated: Use WSSendOutput.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *WSSendOutput) GetError() string\n```\n\n```go\nfunc (x *WSSendOutput) GetSent() bool\n```\n\n```go\nfunc (*WSSendOutput) ProtoMessage()\n```\n\n```go\nfunc (x *WSSendOutput) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *WSSendOutput) Reset()\n```\n\n```go\nfunc (x *WSSendOutput) String() string\n```\n\n```go\ntype WSServerConfig struct {\n\n\t// path is the HTTP path for the WebSocket upgrade endpoint (default: /ws).\n\tPath string `protobuf:\"bytes,1,opt,name=path,proto3\" json:\"path,omitempty\"`\n\t// max_connections is the maximum number of concurrent WebSocket connections (default: 1000).\n\tMaxConnections int32 `protobuf:\"varint,2,opt,name=max_connections,json=maxConnections,proto3\" json:\"max_connections,omitempty\"`\n\t// ping_interval is the duration between server-initiated pings (e.g. \"30s\"). Default: 30s.\n\tPingInterval string `protobuf:\"bytes,3,opt,name=ping_interval,json=pingInterval,proto3\" json:\"ping_interval,omitempty\"`\n\t// pong_wait is the time to wait for a pong reply before disconnecting (e.g. \"60s\").\n\tPongWait string `protobuf:\"bytes,4,opt,name=pong_wait,json=pongWait,proto3\" json:\"pong_wait,omitempty\"`\n\t// max_message_size is the maximum inbound message size in bytes (default: 65536).\n\tMaxMessageSize int64 `protobuf:\"varint,5,opt,name=max_message_size,json=maxMessageSize,proto3\" json:\"max_message_size,omitempty\"`\n\t// auth_required, when true, requires an authenticated session before accepting connections.\n\tAuthRequired bool `protobuf:\"varint,6,opt,name=auth_required,json=authRequired,proto3\" json:\"auth_required,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nWSServerConfig is the typed config for the ws.server module. Fields mirror the internal wsServerModule config keys (camelCase in YAML).\n\n```go\nfunc (*WSServerConfig) Descriptor() ([]byte, []int)\n```\nDeprecated: Use WSServerConfig.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *WSServerConfig) GetAuthRequired() bool\n```\n\n```go\nfunc (x *WSServerConfig) GetMaxConnections() int32\n```\n\n```go\nfunc (x *WSServerConfig) GetMaxMessageSize() int64\n```\n\n```go\nfunc (x *WSServerConfig) GetPath() string\n```\n\n```go\nfunc (x *WSServerConfig) GetPingInterval() string\n```\n\n```go\nfunc (x *WSServerConfig) GetPongWait() string\n```\n\n```go\nfunc (*WSServerConfig) ProtoMessage()\n```\n\n```go\nfunc (x *WSServerConfig) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *WSServerConfig) Reset()\n```\n\n```go\nfunc (x *WSServerConfig) String() string\n```\n\n```go\ntype WebSocketTriggerConfig struct {\n\t// contains filtered or unexported fields\n}\n```\nWebSocketTriggerConfig is the typed config for the websocket trigger type. No required fields — the trigger attaches to the global ws.server hub automatically.\n\n```go\nfunc (*WebSocketTriggerConfig) Descriptor() ([]byte, []int)\n```\nDeprecated: Use WebSocketTriggerConfig.ProtoReflect.Descriptor instead.\n\n```go\nfunc (*WebSocketTriggerConfig) ProtoMessage()\n```\n\n```go\nfunc (x *WebSocketTriggerConfig) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *WebSocketTriggerConfig) Reset()\n```\n\n```go\nfunc (x *WebSocketTriggerConfig) String() string\n```\n\n","path":"github.com/GoCodeAlone/workflow-plugin-websocket/gen","name":"websocketv1","synopsis":"","isRedistributable":true}
