mochi
bae2579497
Expose CleanSession value for checking
2022-04-10 19:07:15 +01:00
mochi
f2dd5b63ae
Export R/W buffer values so they can be assessed in tests without causing races
2022-04-10 17:37:25 +01:00
mochi
b6fd25bba4
test clarbuffers
2022-04-10 01:46:18 +01:00
mochi
ab25083ed2
Merge branch 'master' of https://github.com/mochi-co/mqtt into v1.1.2
...
# Conflicts:
# server/internal/clients/clients.go
2022-03-16 18:09:00 +00:00
JB
3286d5a484
Replace Travis with Github Actions ( #41 )
...
* Remove Travis CI
* Add Github Actions Workflow
* Update badges for build status, coverage, report card, doc reference
* use actions for all pull requests and pushes
* test all files for coverage
* Apply gofmt -s to simplify code
* Fix typos
* Cleanup comments
* Cleanup comments
Co-authored-by: mochi <mochimou@icloud.com >
2022-03-15 19:56:42 +00:00
Joshua MacDonald
0a5f6d3a9d
Add an OnError handler; report the reason for disconnects. ( #38 )
2022-03-15 17:59:52 +00:00
Rob Kennedy
471ca00a64
Make atomics work on 32-bit systems
...
On 32-bit systems, `atomic` requires its 64-bit arguments to have 64-bit
alignment, but the compiler doesn't help ensure that's the case. In this
commit, fields that don't need to hold large numbers have been converted
to 32-bit types, which are always aligned correctly on all platforms.
For fields that may hold large numeric values, padding has been added to
get the necessary alignment, and tests have been added to avoid
regressions.
2022-01-25 00:22:26 -06:00
mochi
8472b9ae8a
use .systemInfo instead of .system for clarity
2022-01-14 17:01:42 +00:00
mochi
7c7b8d58fe
Return packets to internal
...
Now that we can alias types, there's no compelling reason to expose the packets library
2022-01-05 18:10:24 +00:00
mochi
b5685ca0ee
update packets library import reference
2022-01-05 17:01:15 +00:00
Mochi
d1daa843df
Persistence V1
2020-02-04 21:18:29 +00:00
Mochi
85f269af5d
Adds delete from persistence
2020-02-02 14:38:39 +00:00
Mochi
216b04011f
Load persistence into server
2020-01-25 13:21:24 +00:00
Mochi
4d3b1d7da4
Publish $SYS Stats to topics
2019-12-31 23:49:17 +00:00
Mochi
19f74cb691
Basic $SYS stats
2019-12-31 19:02:55 +00:00
Mochi
b6184987e8
Restructures code
2019-12-31 15:02:16 +00:00