86d418f940
feat: Introducing StreamingCredentialsProvider for token based authentication ( #3320 )
...
* wip
* update documentation
* add streamingcredentialsprovider in options
* fix: put back option in pool creation
* add package level comment
* Initial re authentication implementation
Introduces the StreamingCredentialsProvider as the CredentialsProvider
with the highest priority.
TODO: needs to be tested
* Change function type name
Change CancelProviderFunc to UnsubscribeFunc
* add tests
* fix race in tests
* fix example tests
* wip, hooks refactor
* fix build
* update README.md
* update wordlist
* update README.md
* refactor(auth): early returns in cred listener
* fix(doctest): simulate some delay
* feat(conn): add close hook on conn
* fix(tests): simulate start/stop in mock credentials provider
* fix(auth): don't double close the conn
* docs(README): mark streaming credentials provider as experimental
* fix(auth): streamline auth err proccess
* fix(auth): check err on close conn
* chore(entraid): use the repo under redis org
2025-05-27 16:25:20 +03:00
97b491aace
chore: update import path
2023-01-23 08:48:54 +02:00
767109c632
chore: cleanup names
2023-01-21 10:30:02 +02:00
97697f488f
feat: hook mode is changed to FIFO
...
Signed-off-by: monkey <golang@88.com >
2023-01-20 23:19:49 +08:00
0dff3d1461
feat: add OpenTelemetry metrics instrumentation
2022-10-12 11:09:41 +03:00
e061db8c13
refactor: remove unused context attributes ( #2154 )
...
* refactor: remove unused context field
2022-07-14 13:43:42 +03:00
4ddd7d1803
chore: remove WithContext
2022-06-05 09:58:05 +03:00
a18fad5bd3
chore: v9
2022-06-04 17:42:06 +03:00
11c4d6f556
chore: cleanup OpenTelemetry example
2021-09-08 15:54:10 +03:00
4ceab0fee3
Ensure Watch closes the transaction on panic
2021-01-21 19:29:28 +02:00
6db422f051
Port pool fixes
2020-08-15 15:45:15 +03:00
3dcb844106
Bump major version
2020-05-19 08:52:38 +03:00
f5593121e0
Add ctx as first arg
2020-05-19 08:52:38 +03:00
218b17f0fc
Include multi & exec in pipeline hook
2020-02-14 15:55:16 +02:00
c01b1dcab8
Tweak doc
2020-02-13 16:13:33 +02:00
512e6c7a40
Unexport Clone and Lock from embedded hooks
2020-02-12 13:02:09 +02:00
dd4ef4e9cb
Change Tx.Pipeline and Tx.TxPipeline meaning
2020-01-12 14:19:21 +02:00
c0fcf85f12
Add missing Tx instrumentation
2019-12-29 12:14:02 +02:00
152e52f203
Fix WithContext race
2019-08-24 12:40:23 +03:00
7779accbea
Use semantic import versioning
2019-08-08 14:29:44 +03:00
c837612911
Cancel sleep when context is cancelled
2019-07-30 12:13:00 +03:00
52ec525849
Propagate context in Pipeline
2019-07-25 13:28:15 +03:00
2cbb5194fb
Fix WithContext and add tests
2019-07-04 11:57:54 +03:00
09eb108738
Allow passing context where possible
2019-06-04 13:30:47 +03:00
84422d7ae7
Speedup WithContext
2019-05-31 17:31:54 +03:00
8476dfea4a
Replace Wrap* with hooks that support context
2019-05-31 16:36:57 +03:00
e970ae1d0f
Fix typos in Client.Watch documentation
2019-02-13 11:51:16 +01:00
ab1a52f0c9
Add more docs for Tx
2018-07-12 15:57:03 +03:00
56dea1f39a
Fix proto.RedisError in slices
2018-02-22 14:24:27 +02:00
8b4fa6d443
Add WrapProcessPipeline
2018-01-30 16:47:29 +02:00
ea4d6c3490
golint warnings are removed
2018-01-24 22:38:47 +04:00
f9307ab2fe
Add TxPipeline to Cmdable
2017-09-25 11:48:44 +03:00
dbd2c99ba9
Rework pipeline retrying
2017-09-01 14:56:00 +03:00
7e8890b644
Embed Cmdable into StatefulCmdable
2017-05-25 13:38:04 +03:00
eeb4d09198
rename Pipelineable to Pipeliner
2017-05-02 12:00:53 -03:00
6fca4d5ad0
pipeline now has its own interface "Pipelineable"
2017-05-01 12:42:58 -03:00
8040d63c4f
Remove gopkg.in
2017-02-19 09:49:21 +02:00
152cc1ee34
Merge pull request #444 from go-redis/feature/tx-pipeline
...
Add TxPipeline.
2016-12-16 11:40:46 +02:00
865d501d07
Add TxPipeline.
2016-12-16 11:25:58 +02:00
34122bffa8
Check that clients implement scripter interface.
2016-12-14 12:12:50 +02:00
c7dfbb54af
Fix nil ptr in case when all nodes are unavailable.
2016-12-12 17:30:08 +02:00
b4efc45f1c
Set read/write timeouts more consistently.
2016-12-03 17:30:13 +02:00
20bc3ec5a6
Refactor Tx using Pipeline to implement Cmdable interface.
2016-10-13 14:36:15 +03:00
2c5b239ecb
Remove internal errors package that clashes with std lib.
2016-10-09 11:44:31 +00:00
f5245efa73
Prepare v5 release.
2016-10-09 10:56:53 +00:00
e57ac63b6e
Simplify resubscribing in PubSub.
2016-09-29 12:33:47 +00:00
7d856c5595
Make proto/parser an internal package
2016-07-02 13:52:10 +01:00
1c4c05e970
Ensure to use pointer methods where appropriate. Tidy up godoc.
2016-07-01 13:25:28 +01:00
4761c24218
Add ForEachMaster API.
2016-06-17 12:09:38 +00:00
ac162eb843
Move Select to stateful commands and make it available only via Pipeline and Tx.
2016-06-05 09:45:39 +00:00