Commit Graph

  • 49deb55685 Update README master s.solodyagin 2024-04-05 14:13:03 +03:00
  • 58d0141d43 rename s.solodyagin 2024-04-05 14:07:52 +03:00
  • b1236e724a Fix set hub to closed before closing sessions Ola 2024-03-30 17:45:32 +01:00
  • 18ed1feac2 Add testing matrix Ola 2024-03-30 17:26:22 +01:00
  • 4a98ad4016 Use any instead of empty interface Ola 2024-03-06 18:35:41 +01:00
  • 3823d1271f Use envelope as value Ola 2024-03-06 18:05:19 +01:00
  • 4c79256c40 Refactor hub Ola 2024-03-06 17:10:39 +01:00
  • a6cfa93561 Remove unused code Ola 2024-03-06 12:40:45 +01:00
  • 87e736d0f6 Fix test data race Ola 2024-03-06 12:31:16 +01:00
  • f3ccd79a30 Concurrent message handling Ola 2024-02-12 18:58:22 +01:00
  • b889a36745 Bump Go CI version Ola 2023-07-01 12:26:48 +02:00
  • 508deabf24 Bump github.com/gin-gonic/gin from 1.8.1 to 1.9.1 in /examples dependabot[bot] 2023-06-01 20:21:14 +00:00
  • 53148862bc refactor: unnecessary guard check piglig 2023-07-01 11:16:24 +08:00
  • af3ecc1cef Tests for UnSet Ola 2023-03-14 17:33:14 +01:00
  • 31c7177008 added session.UnSet() function idc77 2023-03-14 16:55:40 +01:00
  • 051331a0c6 Close session on write error Ola 2023-03-08 16:13:03 +01:00
  • 71e1cea03c Merge pull request #76 from olahol/dependabot/go_modules/examples/golang.org/x/net-0.7.0 Ola 2023-03-08 15:07:25 +00:00
  • d0bfb0bb11 Bump golang.org/x/net in /examples dependabot[bot] 2023-03-08 15:06:58 +00:00
  • 767ed3d021 Merge pull request #75 from olahol/dependabot/go_modules/examples/golang.org/x/crypto-0.1.0 Ola 2023-03-08 15:04:04 +00:00
  • 2144b74992 Bump golang.org/x/crypto in /examples dependabot[bot] 2023-03-08 15:00:49 +00:00
  • ac7092537f Merge pull request #74 from olahol/dependabot/go_modules/examples/golang.org/x/text-0.3.8 Ola 2023-03-08 14:59:54 +00:00
  • b1f4a0edef Bump golang.org/x/text from 0.3.7 to 0.3.8 in /examples dependabot[bot] 2023-02-23 10:48:07 +00:00
  • d8d5890779 Update doc.go Ola 2022-11-27 21:47:29 +01:00
  • c5e7d90715 Update multichat example Ola 2022-11-26 13:56:28 +01:00
  • 36179d2ce2 Update filewatch example Ola 2022-11-25 17:42:08 +01:00
  • e64db7b946 Update README Ola 2022-11-21 16:47:17 +01:00
  • c3d5658462 Rewrite gophers example Ola 2022-11-20 11:27:30 +01:00
  • afb1764905 Update README Ola 2022-11-19 18:28:27 +01:00
  • ad618987a1 Add standard library example Ola 2022-11-18 19:12:41 +01:00
  • c8e1a31504 Contributors image. Ola 2022-10-19 19:55:33 +02:00
  • c572272f17 Update gophers example. Ola 2022-10-18 13:28:24 +02:00
  • cee8589c93 Report card. Ola 2022-10-17 12:54:00 +02:00
  • 8e323a3242 Add code coverage badge. Ola 2022-10-03 15:46:31 +02:00
  • ac7a19b155 Add github actions. Ola 2022-10-03 15:32:14 +02:00
  • 429cbb6053 Make session Get and Set concurrency safe Ola 2022-09-30 18:19:05 +02:00
  • a3564f4d61 Rewrite tests and increase test coverage Ola 2022-09-28 23:00:53 +02:00
  • 00a6f44fc3 Update README to be clearer about Websocket heartbeats. Ola 2022-09-26 17:56:22 +02:00
  • f46f868ce3 Update gophers example. Ola 2022-09-14 15:34:50 +02:00
  • fdfd3d60e4 Update changelog. Ola 2022-09-13 16:37:43 +02:00
  • aaf226f3d1 add local addr and remote addr function to session parkerzhu 2019-07-16 01:50:40 +08:00
  • fd663c8c45 add local addr and remote addr for session parkerzhu 2019-07-16 01:44:17 +08:00
  • b10d057bd5 Use constant error for Sessions Ola 2022-09-13 16:08:13 +02:00
  • f27c82fac5 retrieve all sessions gabstv 2019-04-02 14:42:12 -03:00
  • 964c1f0660 Constant errors Ola 2022-09-13 15:51:28 +02:00
  • 5dfe76a8fb Create Go module Ola 2022-09-13 15:06:52 +02:00
  • e21886f3a7 Fix concurrent panic lesismal 2021-05-20 03:01:17 +08:00
  • 7bd65910e5 Merge pull request #36 from yoki123/patch-1 Ola Holmström 2018-02-27 14:42:53 +01:00
  • dfc3455206 Support for the subprotocol Yoki 2018-02-05 10:37:42 +08:00
  • d521390733 Fix HandleSentMessageBinary, close #32. Ola Holmström 2017-05-18 12:55:55 +02:00
  • 339bebc930 Merge branch 'patch-2' of https://github.com/robbiet480/melody Ola Holmström 2017-04-13 17:19:41 +02:00
  • a9e9ebdfdc Remove default close handler which caused abnormal closes Robbie Trencheny 2017-04-12 14:41:55 -07:00
  • 8a4d4f8294 Add IsClosed method to Melody Robbie Trencheny 2017-04-11 20:54:15 -07:00
  • 647ca280c6 Update README and examples to use gopkg.in import. Ola Holmström 2017-04-11 22:35:19 +02:00
  • ad282d4baf Update changelog with BroadcastMultiple and allowing any origin by default. Ola Holmström 2017-04-11 22:19:36 +02:00
  • 041107a9df Merge branch 'patch-1' of https://github.com/robbiet480/melody Ola Holmström 2017-04-11 22:18:42 +02:00
  • 9d6a0c9a53 Merge branch 'allow-all-origins-by-default' of https://github.com/robbiet480/melody Ola Holmström 2017-04-11 22:18:19 +02:00
  • 8758889bd0 Update .travis.yml Robbie Trencheny 2017-04-10 15:51:42 -07:00
  • 60d272bb50 Allow any Origin by default. Closes #23 Robbie Trencheny 2017-04-10 14:32:50 -07:00
  • 8617780ed8 Instead of using BroadcastFilter just loop over the slice of sessions and broadcast to each one Robbie Trencheny 2017-04-10 14:29:46 -07:00
  • 0ded2b7599 Add convenience function to broadcast to multiple sessions Robbie Trencheny 2017-03-28 14:17:41 -07:00
  • 3e26c38d4c Update changelog. Ola Holmström 2017-04-09 18:15:11 +02:00
  • 260e857d57 Merge branch 'session-isclosed' of https://github.com/robbiet480/melody into robbiet480-session-isclosed Ola Holmström 2017-04-09 18:14:26 +02:00
  • 5eec824519 Update changelog. Ola Holmström 2017-04-09 18:04:56 +02:00
  • 5fe1bff6a7 Fix typo error message. Ola Holmström 2017-04-09 18:03:14 +02:00
  • b2ece16412 Add IsClosed method to Session Robbie Trencheny 2017-04-07 14:16:23 -07:00
  • b5a06028d4 Golint fixes Robbie Trencheny 2017-03-28 14:04:34 -07:00
  • 9a70fe93ac Add closeHandler support Robbie Trencheny 2017-03-28 14:00:51 -07:00
  • c773bc2f72 Allow sending custom close messages Robbie Trencheny 2017-03-28 13:48:20 -07:00
  • e5f177a9d7 fix messageSentHandlerBinary initilization Ola Holmström 2017-02-11 00:01:59 +01:00
  • aea0b4aedf split HandleSentMessage into text and binary methods Ola Holmström 2017-02-10 23:53:55 +01:00
  • 6877034698 Add HandleRequestWithKeys so that session.Keys can be populated. Close #18. Ola Holmström 2017-02-10 23:22:49 +01:00
  • 3321ec3da7 Return error messages for some exposed methods, fix panic when connection is closed. Close #21. Ola Holmström 2017-02-10 23:12:27 +01:00
  • 7ba6d478f0 Add a handler for message successfully sent Robbie Trencheny 2017-01-30 14:14:07 -08:00
  • e39e1207dd Add 1.7 to travis and reduce number of connections in TestLen. Ola Holmström 2017-01-20 23:28:12 +01:00
  • 31f0503a61 Add Len() to fetch number of connected sessions. Close #16. Ola Holmström 2017-01-20 22:59:44 +01:00
  • c21605cc86 remove coverage Ola Holmström 2016-12-09 23:13:14 +01:00
  • fe23f4936d fix travis Ola Holmström 2016-12-09 23:09:13 +01:00
  • 8f11201a19 Store data on a per sessions basis, based on the Gin interface. Ola Holmström 2016-12-09 22:34:36 +01:00
  • ca5ae7e3c4 Merge branch 'master' of https://github.com/ReforgedStudios/melody into ReforgedStudios-master Ola Holmström 2016-12-09 21:48:16 +01:00
  • 150502cfd6 Merge pull request #2 from huljas/generic_params Heikki Uljas 2016-11-18 09:19:36 +02:00
  • aae1ca83fc Use generic params Heikki Uljas 2016-11-18 09:19:02 +02:00
  • fad38bc8b3 Changed session params to be generic type Heikki Uljas 2016-11-18 09:14:19 +02:00
  • d1854c24f0 add echo example Ola Holmström 2016-05-13 09:21:19 +02:00
  • dfa17ad2ae gophers example Ola Holmström 2016-05-13 02:18:46 +02:00
  • 5a3ec43235 golint Ola Holmström 2016-05-10 21:13:28 +02:00
  • cec89bbbba remove go 1.6 from testin Ola Holmström 2016-05-10 00:03:48 +02:00
  • 5a123d29ef add HandlePong Ola Holmström 2016-05-09 23:38:22 +02:00
  • 3fb44fab6c Use a mutex to ensure SetPongHandler atomicity Matt Caldwell 2016-05-08 20:21:27 -04:00
  • aa4fbf9617 Add hook for extending PongHandler Matt Caldwell 2016-05-08 17:54:50 -04:00
  • 0d8427cd96 Merge pull request #1 from huljas/fix_concurrency Heikki Uljas 2016-02-15 17:37:52 +02:00
  • 46e5343829 Always call the connect handler before any message handler. Heikki Uljas 2016-01-14 14:55:49 +02:00
  • cf8236b938 Added params to session Heikki Uljas 2016-01-13 08:03:00 +02:00
  • 241a6879bf use write raw instead of write message in ping, close #8 Ola Holmström 2015-11-24 19:40:25 +01:00
  • 2db13c4f7f add @shiwano and update changelog Ola Holmström 2015-10-07 11:18:35 +02:00
  • 1cc65a8217 Add broadcast methods for a binary message Shogo Iwano 2015-10-07 07:01:43 +09:00
  • 42b1aafdf8 rewrite writeMessage Ola Holmström 2015-09-18 16:47:30 +02:00
  • ee4453a904 ensure order of messages and dispatch error handler when buffer is full Ola Holmström 2015-09-18 14:50:46 +02:00
  • ff425ac175 Issue #3: Add close method Ola Holmström 2015-09-02 21:40:26 +02:00
  • 391be842a9 Merge pull request #2 from saulshanabrook/patch-1 Ola Holmström 2015-08-26 11:53:30 +02:00
  • cfc5f5b157 Add troubleshooting for 403 Saul Shanabrook 2015-08-25 20:34:18 -04:00