tb_sdk_go_pubsub
Installation
SKILL.md
Consumer (trigger.type: pubsub)
Data()→([]byte, error);Channel()→(*ChannelObject, error).
Producer (HTTP) — pubsub/node
import pubsubnode "github.com/taubyte/go-sdk/pubsub/node"ch, err := pubsubnode.Channel("<channelName>")— string must equal messagingchannel.matchand PubSub functiontrigger.channel.ch.Publish(payload); for browsers:ch.WebSocket().Url()withbridges.websocket.enable: truein messaging YAML.
Checklist: messaging.channel.match == trigger.channel == pubsubnode.Channel("...").
Rules: tb_sys_core_constraints.