Ak-Army
0433e98dbc
Better connection pool handling ( #2725 )
...
* [fix] etcd config source prefix issue (#2389 )
* http transport data race issue (#2436 )
* [fix] #2431 http transport data race issue
* [feature] Ability to close connection while receiving.
Ability to send messages while receiving.
Icreased r channel limit to 100 to more fluently communication.
Do not dropp sent request if r channel is full.
* [fix] Use pool connection close timeout
* [fix] replace Close with private function
* [fix] Do not close the transport client twice in stream connection , the transport client is closed in the rpc codec
* [fix] tests
---------
Co-authored-by: Johnson C <chengqiaosheng@gmail.com>
2024-07-23 12:19:43 +01:00
asim
610c00859f
v5
2024-06-04 21:40:43 +01:00
Lukasz Raczylo
a7522e7d6c
fix: struct field alignment ( #2632 )
2023-04-26 02:16:34 +02:00
David Brouwer
a3980c2308
feat: add test framework & refactor RPC server ( #2579 )
...
Co-authored-by: Rene Jochum <rene@jochum.dev>
2022-10-20 13:00:50 +02:00
David Brouwer
85c0b0b8eb
fix: some linting issues ( #2563 )
2022-09-30 16:27:07 +02:00
Mohamed MHAMDI
1db36357d5
feat(logger): add logger option to all micro components (override DefaultLogger) closes #2556 ( #2559 )
...
* feat(logger): add logger option to all components
* fix: refactor api/rpc.go
* fix: refactor api/stream.go
* fix: api/options.go comment
* fix(logger): do not use logger.Helper internally
* fix(logger): fix comments
* fix(logger): use level.Enabled method
* fix: rename mlogger to log
* fix: run go fmt
* fix: log level
* fix: factories
Co-authored-by: Mohamed MHAMDI <mmhamdi@hubside.com>
Co-authored-by: Davincible <david.brouwer.99@gmail.com>
2022-09-29 16:44:53 +02:00
Asim Aslam
1cd7cfaa6c
go-micro.dev/v4 ( #2305 )
2021-10-12 12:55:53 +01:00
Asim Aslam
d94936f6c9
v3 ( #2104 )
...
* v3
* revert plugins
* fixup some issues
2021-01-20 13:54:31 +00:00
Asim Aslam
df687fe5d4
move selector
2020-12-12 20:14:50 +00:00
Ben Toogood
7d7f4046e8
Client Cache
2020-05-22 16:52:24 +01:00
Ben Toogood
efb64b7dbb
Pass client to more of the runtime
2020-05-11 17:57:39 +01:00
Vasiliy Tolstov
06220ab8c8
client: add context publish option ( #1588 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-28 19:03:37 +03:00
Asim Aslam
68b0238a5d
add stream timeout option which defaults to 0 ( #1456 )
...
* add stream timeout option which defaults to 0
* fix option
2020-03-31 23:22:11 +01:00
Ben Toogood
bd70820b6b
ServicePrivileges => ServiceToken
2020-03-31 13:48:28 +01:00
Ben Toogood
e0c7f48d20
WithServicePrivileges => ServicePrivileges
2020-03-31 12:57:38 +01:00
Ben Toogood
d659e435c6
Service => Service Auth
2020-03-31 12:44:34 +01:00
Vasiliy Tolstov
6248f05f74
add missing option to client.NewMessage ( #1212 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-18 14:18:59 +03:00
Vasiliy Tolstov
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Asim Aslam
c145f355dd
Moving to gRPC by default ( #1069 )
...
* Step 1
* Fix the test panics
2019-12-29 21:07:55 +00:00
jamsonzan
572fe58314
comment
2019-12-15 15:05:19 +08:00
Vasiliy Tolstov
90f9b0d0c9
initialize client options context if not provided
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-12-03 01:35:59 +03:00
Asim Aslam
64ec0633a3
Fix breaks and go fmt
2019-07-10 07:47:17 +01:00
Asim Aslam
0bf54c122f
move transport back
2019-07-09 18:41:26 +01:00
Asim Aslam
777a203f96
gofmt
2019-07-07 12:33:54 +01:00
Asim Aslam
d2d6841f02
Move transport to network/transport
2019-07-07 10:37:34 +01:00
Asim Aslam
0da8256426
Accept a range of addresses
2019-06-26 20:51:13 +01:00
Asim Aslam
1b4005e9a5
Go fmt everything
2019-06-21 17:20:41 +01:00
Asim Aslam
ca5acba0c6
Move selector to client/selector
2019-06-21 15:13:54 +01:00
Asim Aslam
58adaef339
Add Exchange option
2019-02-23 10:50:53 +00:00
Asim Aslam
01f6683035
Add router option
2019-01-13 12:15:13 +00:00
Asim Aslam
d179c971af
Switch default codec and add default codec for server
2019-01-07 13:48:38 +00:00
Asim Aslam
c3c0543733
add message options
2018-05-10 17:33:54 +01:00
Asim Aslam
c2cfe5310c
Rework client interface
2018-04-14 18:06:52 +01:00
Asim Aslam
07068379c6
remove remote func methods
2018-04-14 16:16:58 +01:00
Asim Aslam
c9b40cb33b
switch to stdlib context
2018-03-03 11:53:52 +00:00
Thinh Nguyen
ea34e23118
Add Retry option for clients
2017-04-12 16:47:40 -04:00
Asim
7ee35f50b1
WrapCall rather than WrapCallFunc
2016-11-07 18:06:15 +00:00
Asim
f3b591d722
Strip stream func and rename call wrappers...
2016-11-07 17:58:34 +00:00
Asim
5ee585e77d
Rename to CallFuncWrappers
2016-11-07 17:52:19 +00:00
Asim
c6b5237cce
Add call func wrapper
2016-11-07 17:49:35 +00:00
Scott Finlay
1ab59094eb
Fixing return value and gofmt
2016-11-07 17:46:12 +01:00
Scott Finlay
092d17a74e
Adjusting names
2016-11-07 09:40:11 +01:00
Scott Finlay
d7e4062a0e
Adding the ability to specify a function to check if micro should retry a failed rpc call
2016-11-03 10:51:47 +01:00
Asim
89401cbb95
Make pool configurable
2016-06-07 00:46:14 +01:00
Asim
d6fdfc252e
Make it easier to add select filters
2016-04-23 21:37:26 +01:00
Asim
7167f998ce
First crack at backoff function
2016-04-05 20:04:37 +01:00
Asim
56c6993eb8
Set CallOptions as struct in Options. Can then be overridden easily during Call/Stream
2016-04-05 18:07:07 +01:00
Asim
8bf72a3325
Replace map[string]string with Context for extra options. map[string]string is essentially useless. Context can store anything
2016-01-06 16:25:12 +00:00
Asim
d43d3e8efa
Add transport dial timeout
2016-01-03 21:25:03 +00:00
Asim
332a229169
Add request timeout
2016-01-03 21:14:33 +00:00