modulepackage
0.0.0-20241008010300-a63fd95dc8ed
Repository: https://github.com/picosh/pubsub.git
Documentation: pkg.go.dev
# README
pubsub
A generic pubsub implementation for Go.
pubsub over ssh
The simplest pubsub system for everyday automation needs.
Using wish
we can integrate our pubsub system into an SSH app.
# term 1
mkdir ./ssh_data
cat ~/.ssh/id_ed25519 ./ssh_data/authorized_keys
go run ./cmd/example
# term 2
ssh -p 2222 localhost sub xyz
# term 3
echo "hello world" | ssh -p 2222 localhost pub xyz
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
Channel is a container for a topic.
No description provided by the author
Client is the container for holding state between multiple devices.
Multicast is a flexible, bidirectional broker.
# Type aliases
No description provided by the author
No description provided by the author