Commit Graph

115 Commits

Author SHA1 Message Date
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
tidwall f50c3d4246 Added RESP type 2020-01-27 12:40:43 -07:00
tidwall fc7a9e8758 Added AcceptError function 2020-01-20 08:50:30 -07:00
tidwall a56a5c7c95 Do not fail on accept 2020-01-20 07:17:34 -07:00
tidwall 565ec452b4 Added bulk number appending 2020-01-09 05:08:23 -07:00
tidwall 47f86dd29a Added WriteUint64 method 2019-12-18 19:45:32 -07:00
Josh Baker 56fff5d1ec
Merge pull request #26 from oleh-ozimok/mux
add server mux
2019-12-18 19:41:33 -07:00
Josh Baker 5d58ef2214
Update README.md 2019-05-06 09:04:21 -07:00
Oleg Ozimok a6727f990d add server mux 2019-04-07 21:03:47 +03:00
Josh Baker c964c660ad
Merge pull request #23 from smallnest/master
#22 export Serve method
2019-03-20 21:35:34 -07:00
smallnest 0b1eb3f07a #22 export Serve method 2019-03-19 17:29:55 +08:00
Josh Baker 56b016127a Merge branch 'iwanbk-listen-address' 2018-02-28 08:23:42 -07:00
Iwan Budi Kusnanto 75d62f9c0b Add server.Addr() : returns server's listen address.
Useful to get actual listen address when we listen to random
port (localhost:0).

Also move the `s.ln=ln` assignment from `serve` to
`ListenServeAndSignal` to avoid race condition.
2018-02-28 22:01:57 +07:00
Josh Baker b6e65d498d lil perf boost 2017-11-09 05:50:32 -07:00