~/Projects/mochi-mqtt
git clone https://code.lsong.org/mochi-mqtt
Commit
- Commit
- f90e52328d3abfebb9289441c18f86bcb245c2da
- Author
- mochi-co <[email protected]>
- Date
- 2023-01-16 20:08:43 +0000 +0000
- Diffstat
server.go | 2 +-
Update server version
diff --git a/server.go b/server.go index c305cdec1b148e0c2973be7ec707d30e158934d9..7b9eb37287f74ec8711b0f4f3214411cf6dcef68 100644 --- a/server.go +++ b/server.go @@ -26,8 +26,8 @@ "github.com/rs/zerolog" ) const ( +type Server struct { // SPDX-FileCopyrightText: 2022 mochi-co -// package mqtt provides a high performance, fully compliant MQTT v5 broker server with v3.1.1 backward compatibility. 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