128 Commits

Author SHA1 Message Date
s.solodyagin 49deb55685 Update README 2024-04-05 14:13:03 +03:00
s.solodyagin 58d0141d43 rename 2024-04-05 14:07:52 +03:00
Ola b1236e724a Fix set hub to closed before closing sessions 2024-03-30 17:45:32 +01:00
Ola 18ed1feac2 Add testing matrix 2024-03-30 17:26:22 +01:00
Ola 4a98ad4016 Use any instead of empty interface 2024-03-06 18:35:41 +01:00
Ola 3823d1271f Use envelope as value 2024-03-06 18:05:19 +01:00
Ola 4c79256c40 Refactor hub 2024-03-06 17:54:09 +01:00
Ola a6cfa93561 Remove unused code 2024-03-06 12:40:45 +01:00
Ola 87e736d0f6 Fix test data race 2024-03-06 12:31:16 +01:00
Ola f3ccd79a30 Concurrent message handling 2024-02-12 18:58:22 +01:00
Ola b889a36745 Bump Go CI version 2023-07-01 12:26:48 +02:00
dependabot[bot] 508deabf24 Bump github.com/gin-gonic/gin from 1.8.1 to 1.9.1 in /examples
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.8.1 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.8.1...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 12:22:59 +02:00
piglig 53148862bc refactor: unnecessary guard check 2023-07-01 11:16:24 +08:00
Ola af3ecc1cef Tests for UnSet 2023-03-14 17:33:14 +01:00
idc77 31c7177008 added session.UnSet() function 2023-03-14 16:55:40 +01:00
Ola 051331a0c6 Close session on write error 2023-03-08 16:13:03 +01:00
Ola 71e1cea03c Merge pull request #76 from olahol/dependabot/go_modules/examples/golang.org/x/net-0.7.0
Bump golang.org/x/net from 0.0.0-20211015210444-4f30a5c0130f to 0.7.0 in /examples
2023-03-08 15:07:25 +00:00
dependabot[bot] d0bfb0bb11 Bump golang.org/x/net in /examples
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20211015210444-4f30a5c0130f to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 15:06:58 +00:00
Ola 767ed3d021 Merge pull request #75 from olahol/dependabot/go_modules/examples/golang.org/x/crypto-0.1.0
Bump golang.org/x/crypto from 0.0.0-20210817164053-32db794688a5 to 0.1.0 in /examples
2023-03-08 15:04:04 +00:00
dependabot[bot] 2144b74992 Bump golang.org/x/crypto in /examples
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210817164053-32db794688a5 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 15:00:49 +00:00
Ola ac7092537f Merge pull request #74 from olahol/dependabot/go_modules/examples/golang.org/x/text-0.3.8
Bump golang.org/x/text from 0.3.7 to 0.3.8 in /examples
2023-03-08 14:59:54 +00:00
dependabot[bot] b1f4a0edef Bump golang.org/x/text from 0.3.7 to 0.3.8 in /examples
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 10:48:07 +00:00
Ola d8d5890779 Update doc.go 2022-11-27 21:47:29 +01:00
Ola c5e7d90715 Update multichat example 2022-11-26 13:56:28 +01:00
Ola 36179d2ce2 Update filewatch example 2022-11-25 17:42:08 +01:00
Ola e64db7b946 Update README 2022-11-21 16:47:17 +01:00
Ola c3d5658462 Rewrite gophers example 2022-11-21 16:36:49 +01:00
Ola afb1764905 Update README 2022-11-19 18:28:27 +01:00
Ola ad618987a1 Add standard library example 2022-11-18 19:12:41 +01:00
Ola c8e1a31504 Contributors image. 2022-10-19 19:55:33 +02:00
Ola c572272f17 Update gophers example. 2022-10-18 13:28:24 +02:00
Ola cee8589c93 Report card. 2022-10-17 12:54:00 +02:00
Ola 8e323a3242 Add code coverage badge. 2022-10-03 15:46:31 +02:00
Ola ac7a19b155 Add github actions. 2022-10-03 15:32:14 +02:00
Ola 429cbb6053 Make session Get and Set concurrency safe 2022-09-30 18:19:05 +02:00
Ola a3564f4d61 Rewrite tests and increase test coverage 2022-09-28 23:04:53 +02:00
Ola 00a6f44fc3 Update README to be clearer about Websocket heartbeats. 2022-09-26 17:56:22 +02:00
Ola f46f868ce3 Update gophers example. 2022-09-14 15:34:50 +02:00
Ola fdfd3d60e4 Update changelog. 2022-09-13 16:37:43 +02:00
parkerzhu aaf226f3d1 add local addr and remote addr function to session 2022-09-13 16:18:15 +02:00
parkerzhu fd663c8c45 add local addr and remote addr for session 2022-09-13 16:17:33 +02:00
Ola b10d057bd5 Use constant error for Sessions 2022-09-13 16:08:13 +02:00
gabstv f27c82fac5 retrieve all sessions 2022-09-13 16:05:46 +02:00
Ola 964c1f0660 Constant errors 2022-09-13 15:51:28 +02:00
Ola 5dfe76a8fb Create Go module 2022-09-13 15:06:52 +02:00
lesismal e21886f3a7 Fix concurrent panic 2021-05-20 03:01:17 +08:00
Ola Holmström 7bd65910e5 Merge pull request #36 from yoki123/patch-1
Support for the subprotocol
2018-02-27 14:42:53 +01:00
Yoki dfc3455206 Support for the subprotocol 2018-02-05 10:37:42 +08:00
Ola Holmström d521390733 Fix HandleSentMessageBinary, close #32. 2017-05-18 12:55:55 +02:00
Ola Holmström 339bebc930 Merge branch 'patch-2' of https://github.com/robbiet480/melody 2017-04-13 17:19:41 +02:00