repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
7b10aff
parent
db5c0a4
author
Eric Bower
date
2024-10-08 02:55:10 +0000 UTC
docs(pubsub): copy
2 files changed,  +2, -2
M pubsub/cli.go
+1, -1
1@@ -223,7 +223,7 @@ func WishMiddleware(handler *CliHandler) wish.Middleware {
2 			if cmd == "pub" {
3 				pubCmd := flagSet("pub", sesh)
4 				empty := pubCmd.Bool("e", false, "Send an empty message to subs")
5-				public := pubCmd.Bool("p", false, "Anyone can sub to this topic")
6+				public := pubCmd.Bool("p", false, "Publish message to public topic")
7 				block := pubCmd.Bool("b", true, "Block writes until a subscriber is available")
8 				timeout := pubCmd.Duration("t", 30*24*time.Hour, "Timeout as a Go duration to block for a subscriber to be available. Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'. Default is 30 days.")
9 				if !flagCheck(pubCmd, topic, cmdArgs) {
M pubsub/html/marketing.page.tmpl
+1, -1
1@@ -46,7 +46,7 @@
2       <li>Public pubsub by topic (opt-in)</li>
3       <li>Multicast (many pubs to many subs)</li>
4       <li>Bidirectional (e.g. chat)</li>
5-      <li>Configurable blocking for both pubs and subs</li>
6+      <li>Configurable blocking characteristics for pubs</li>
7       <li>Paradigms for connecting to a topic:
8         <ol>
9           <li>Read (<code>sub</code>)</li>