Nexus/pkg/nex/rx/mq_io.go

8 lines
170 B
Go
Raw Permalink Normal View History

package rx
import "git.solsynth.dev/hypernet/nexus/pkg/nex"
func (v *MqConn) Publish(topic string, data any) error {
return v.Nt.Publish(topic, nex.EncodeMap(data))
}