Liu Song’s Projects


~/Projects/mochi-mqtt

git clone https://code.lsong.org/mochi-mqtt

Commit

Commit
1adb02e0874f3cca82d70cfacd3d5681397725fe
Author
mochi-co <[email protected]>
Date
2022-12-21 20:47:58 +0000 +0000
Diffstat
 README.md | 1 +
 server.go | 2 +-

Update readme and server version


diff --git a/README.md b/README.md
index ffe0c65761e21aa9b6dfbc1e105449c472b1883e..da4ae25dcd371f4c2d2dce09ea7cd8cd616a4492 100644
--- a/README.md
+++ b/README.md
@@ -113,6 +113,7 @@ #### Network Listeners
 The server comes with a variety of pre-packaged network listeners which allow the broker to accept connections on different protocols. The current listeners are:
 
 - `listeners.NewTCP(...)` - A TCP listener.
+- `listeners.NewUnixSock(...)` - A Unix Socket listener.
 - `listeners.NewWebsocket(...)` A Websocket listener.
 - `listeners.NewHTTPStats(...)` An HTTP $SYS info dashboard.
 - Use the `listeners.Listener` interface to develop new listeners. If you do, please let us know!




diff --git a/server.go b/server.go
index 27cc7034acc8872cfcd90352ee339c267494bc39..5ab3412e1f96bb648ffa8d3ed57cf1bd49d2d3fc 100644
--- a/server.go
+++ b/server.go
@@ -26,7 +26,7 @@ 	"github.com/rs/zerolog"
 )
 
 const (
-	Version                        = "2.0.7" // the current server version.
+	Version                        = "2.1.0" // the current server version.
 	defaultSysTopicInterval int64  = 1       // the interval between $SYS topic publishes
 	defaultFanPoolSize      uint64 = 32      // the number of concurrent workers in the pool
 	defaultFanPoolQueueSize uint64 = 1024    // the capacity of each worker queue