Commit Graph

128 Commits

Author SHA1 Message Date
Anders F Björklund 45df01b385 Add implementation of the SETNX command
This is an optimized "SET if not exists" command,
which basically does an EXISTS call before the SET.
2023-02-19 13:23:40 +01:00
Josh Baker 9f71787fcd
Create README.md 2023-01-29 16:34:09 -07:00
Josh Baker d05da895e5
Merge pull request #62 from tomarrell/master
fix: race condition in initialisation of server
2023-01-20 09:11:59 -07:00
Tom Arrell c746dbc05b
fix: race condition in initialisation of server 2023-01-20 15:12:37 +01:00
tidwall 8b671291b8 Fix race condition on server close
closes #61
2023-01-12 09:18:56 -07:00
tidwall bc9875b4b0 Add SimpleError 2022-08-25 16:56:07 -07:00
tidwall afd87a26a6 Added MapGet 2022-08-03 05:04:52 -07:00
tidwall d98d0d723c Added Map and removed receiver pointer 2022-08-03 04:51:39 -07:00
tidwall 428ef2271a Added convenience functions 2022-07-27 11:50:30 -07:00
Josh Baker 768b712a98
Delete FUNDING.yml 2022-05-14 10:34:28 -07:00
tidwall 52d396ed1e Avoid write after partial write 2022-04-21 07:27:33 -07:00
Josh Baker 86d28423be
Update README.md 2022-04-18 02:04:21 -07:00
tidwall e0f7ba0ab8 Fix redcon.Serve never returning.
Server should return when the base Listener has been closed.

See #46
2022-03-22 11:38:43 -07:00
tidwall 30bcac2aaa Rename variable 2022-03-22 10:58:06 -07:00
Josh Baker 12fd027cec
Merge pull request #48 from shankai/master
Fix: unsubscribe single channel from (p)subscribe.
2022-03-22 10:55:55 -07:00
Josh Baker f21745dc88
Merge pull request #53 from willxm/fix_typo
typo
2022-03-01 15:29:06 -07:00
willxm 59eed04765 typo 2022-03-01 15:44:25 +08:00
tidwall 1beacf2b47 Upgraded btree 2021-12-28 16:54:22 -07:00
tidwall 913a1ec448 Upgrade btree 2021-12-08 16:28:09 -07:00
tidwall babe3513b0 Upgrade modules 2021-10-25 15:09:00 -07:00
Josh Baker 4d3824a03b
Create FUNDING.yml 2021-09-07 05:56:15 -07:00
shankai 0f365a5602 Fix: unsubscribe single channel from (p)subscribe. 2021-07-15 18:44:48 +08:00
Josh Baker 0cb26bc5a4
Delete FUNDING.yml 2021-04-20 14:46:26 -07:00
tidwall 0f670f53db Upgrade go.mod 2021-03-30 07:42:28 -07:00
tidwall 09e3f71e1b Cleanup test file 2021-03-30 07:41:50 -07:00
tidwall 730a465d73 Cleanup test file 2021-03-30 07:41:08 -07:00
Josh Baker 99f437a123
Create FUNDING.yml 2021-03-28 09:01:24 -07:00
Josh Baker 69f0479a15
Update README.md 2021-02-11 16:30:40 -07:00
Josh Baker f70d5e937a
Update README.md 2021-02-11 16:30:24 -07:00
Josh Baker dd5ee1d2b3
Update README.md 2021-02-11 16:30:12 -07:00
tidwall 9c841ac211 Remove idleclose from example 2021-01-17 08:42:41 -07:00
tidwall aef242afd1 Added simple config command 2021-01-17 08:27:23 -07:00
tidwall 0205c889f6 Added SetIdleClose
It's now possible to automatically close idle connections by
calling the SetIdleClose method.

    s := redcon.NewServer(...)
    s.SetIdleClose(time.Minute*5)
    s.ListenAndServe()

closed #34
2020-11-05 16:54:41 -07:00
Josh Baker 2d74bb5825
Create go.yml 2020-11-03 11:56:44 -07:00
Josh Baker c0033ea551
Delete .travis.yml 2020-11-03 11:56:36 -07:00
Josh Baker ad7bea44e9
Update README.md 2020-11-03 11:56:23 -07:00
Josh Baker ed863f4dd7
Update README.md 2020-10-31 07:51:53 -07:00
tidwall 43bafc0e7e Updated README.md 2020-10-31 07:31:40 -07:00
tidwall 4dcf45bac0 Added pub/sub documentation 2020-10-31 07:30:48 -07:00
tidwall 7c780e8bd7 Merge and refator 2020-10-31 07:18:14 -07:00
tidwall 04ad31261b Refactor code 2020-10-31 07:14:18 -07:00
tidwall a6a8495429 Refactor code 2020-10-31 07:13:26 -07:00
tidwall 51082103ca Added Marshaler 2020-10-30 06:53:21 -07:00
tidwall d5576bf8a3 Added PubSub 2020-10-30 06:46:06 -07:00
Josh Baker 2797057b75
Update to go 1.14 2020-03-08 09:08:33 -07:00
tidwall 157aa68817 Update Any rules 2020-03-06 10:08:10 -07:00
tidwall 1f5e70c2d8 Use int-bulk-strings for *Any calls 2020-03-06 09:32:11 -07:00
tidwall a389b6ca04 Added AppendAny 2020-03-03 14:16:44 -07:00
tidwall 72acf6b980 Removed closed check 2020-02-29 14:10:33 -07:00
tidwall 5c8de50bde Fixed readresp array error 2020-02-11 09:27:00 -07:00