Nikolay Kim
|
ec7757f032
|
refactor worker availibility management
|
2018-09-13 23:46:18 -07:00 |
|
Nikolay Kim
|
2764323580
|
fix service availability check
|
2018-09-13 13:32:51 -07:00 |
|
Nikolay Kim
|
d50829d956
|
add framed related services and utils
|
2018-09-12 18:47:39 -07:00 |
|
Nikolay Kim
|
62dbe1b001
|
add some doc apis and tests
|
2018-09-12 13:34:53 -07:00 |
|
Nikolay Kim
|
f66eec00e7
|
restart failed services; fix readiness check
|
2018-09-12 08:25:14 -07:00 |
|
Nikolay Kim
|
3395512040
|
fix api doc link
|
2018-09-11 14:01:51 -07:00 |
|
Nikolay Kim
|
f0554efb98
|
remove wrong doc example
|
2018-09-11 11:28:13 -07:00 |
|
Nikolay Kim
|
82b71d91ea
|
move Service to service sub mod
|
2018-09-11 09:30:22 -07:00 |
|
Nikolay Kim
|
abef930f87
|
fix openssl uses
|
2018-09-11 08:59:03 -07:00 |
|
Nikolay Kim
|
dc50268c8a
|
move server impl to sub module
|
2018-09-11 08:43:23 -07:00 |
|
Nikolay Kim
|
56b31960f1
|
derive Debug for connector/resolver error
|
2018-09-10 20:03:10 -07:00 |
|
Nikolay Kim
|
d8ed9ae43a
|
create Connector with custom Resolver
|
2018-09-10 19:42:51 -07:00 |
|
Nikolay Kim
|
88d8c99e31
|
use Resolver service for Connector
|
2018-09-10 19:39:55 -07:00 |
|
Nikolay Kim
|
2698534b05
|
add resolver service
|
2018-09-10 19:16:46 -07:00 |
|
Nikolay Kim
|
a1e875e985
|
add Clone impl for DefaultConnector
|
2018-09-10 11:16:58 -07:00 |
|
Nikolay Kim
|
fbfca66e21
|
add DefaultConnector
|
2018-09-10 10:59:35 -07:00 |
|
Nikolay Kim
|
3fe029a8ad
|
remove unneeded code
|
2018-09-10 10:01:58 -07:00 |
|
Nikolay Kim
|
552d19a0eb
|
add generic server service factory
|
2018-09-08 14:50:16 -07:00 |
|
Nikolay Kim
|
4264574af1
|
fix openssl NewService definition
|
2018-09-08 12:58:08 -07:00 |
|
Nikolay Kim
|
c2eff62efb
|
openssl new service is not failable
|
2018-09-08 12:52:43 -07:00 |
|
Nikolay Kim
|
bf10f6dfcf
|
simplify openssl acceptor
|
2018-09-08 10:16:43 -07:00 |
|
Nikolay Kim
|
8b13236d41
|
refactor connections counter
|
2018-09-08 09:36:38 -07:00 |
|
Nikolay Kim
|
5f016bd53c
|
export server mod
|
2018-09-07 23:27:00 -07:00 |
|
Nikolay Kim
|
4e186cc6d2
|
explicitly use unit for server service error
|
2018-09-07 14:49:17 -07:00 |
|
Nikolay Kim
|
0fdce01375
|
remove Display from server service Error
|
2018-09-07 14:34:31 -07:00 |
|
Nikolay Kim
|
d4808acee1
|
implement worker availability system
|
2018-09-07 13:06:51 -07:00 |
|
Nikolay Kim
|
8298da0f4a
|
change InitError type
|
2018-09-07 11:42:22 -07:00 |
|
Nikolay Kim
|
db1fe14fd2
|
add service readiness to ServerService
|
2018-09-07 11:35:25 -07:00 |
|
Nikolay Kim
|
467350c9fc
|
add readiness support for OpensslAcceptor
|
2018-09-07 10:38:39 -07:00 |
|
Nikolay Kim
|
d917b47868
|
remove unneeded phantom data
|
2018-09-06 18:03:01 -07:00 |
|
Nikolay Kim
|
0525da70bf
|
add Clone impl for FromErr combinator
|
2018-09-05 19:27:52 -07:00 |
|
Nikolay Kim
|
983223a839
|
add clone impls for combinator services
|
2018-09-05 13:54:15 -07:00 |
|
Nikolay Kim
|
8540d81dcf
|
stable compat
|
2018-09-04 12:42:06 -07:00 |
|
Nikolay Kim
|
9456065d7b
|
better error conversion impl for and_then
|
2018-09-04 12:07:13 -07:00 |
|
Nikolay Kim
|
41eddae266
|
move into fn service impl
|
2018-09-04 09:57:47 -07:00 |
|
Nikolay Kim
|
0390ff37d3
|
Revert "use From/Into instead of custom IntoService and IntoNewService traits"
This reverts commit 9441624827 .
|
2018-09-04 09:49:21 -07:00 |
|
Nikolay Kim
|
dfa08b3bf1
|
remove uneeded map_request
|
2018-09-04 09:32:37 -07:00 |
|
Nikolay Kim
|
9441624827
|
use From/Into instead of custom IntoService and IntoNewService traits
|
2018-09-04 09:30:52 -07:00 |
|
Nikolay Kim
|
42a49da199
|
add StreamDispatcher
|
2018-09-01 10:29:56 -07:00 |
|
Nikolay Kim
|
27af05de9a
|
simplify Apply combinator
|
2018-08-31 12:51:26 -07:00 |
|
Nikolay Kim
|
c2d73873cc
|
rename Apply combinator
|
2018-08-30 17:54:59 -07:00 |
|
Nikolay Kim
|
7ff24863ab
|
add apply() combinator
|
2018-08-30 17:46:11 -07:00 |
|
Nikolay Kim
|
fbd17e43f3
|
fix ApplyService constraint
|
2018-08-30 15:12:01 -07:00 |
|
Nikolay Kim
|
eaa9d4b273
|
allow to change Connector's request type
|
2018-08-30 10:06:47 -07:00 |
|
Nikolay Kim
|
061a0339ff
|
convert to new service
|
2018-08-30 09:38:09 -07:00 |
|
Nikolay Kim
|
a928d82895
|
rename Apply service
|
2018-08-30 09:26:27 -07:00 |
|
Nikolay Kim
|
e0513e4085
|
replace partial with more generic Apply
|
2018-08-30 09:17:17 -07:00 |
|
Nikolay Kim
|
42b0d53c16
|
change AndThen InitError constrain
|
2018-08-29 21:31:43 -07:00 |
|
Nikolay Kim
|
9b48e952b8
|
add map_request combinator
|
2018-08-29 20:20:33 -07:00 |
|
Nikolay Kim
|
77cf7016b7
|
add partial combinator
|
2018-08-29 20:19:30 -07:00 |
|
Nikolay Kim
|
918c764641
|
use String as default type for Connector
|
2018-08-29 15:28:16 -07:00 |
|
Nikolay Kim
|
361ffd8d2f
|
refactor Connector service
|
2018-08-29 15:15:24 -07:00 |
|
Nikolay Kim
|
7ec92f7b1c
|
export ServiceExt trait
|
2018-08-29 12:26:27 -07:00 |
|
Nikolay Kim
|
eeb4f8c61c
|
add Service combinators
|
2018-08-29 12:20:35 -07:00 |
|
Nikolay Kim
|
6f607e79db
|
export configurable mod
|
2018-08-28 22:28:13 -07:00 |
|
Nikolay Kim
|
cb1ea341c3
|
make new public
|
2018-08-28 20:32:01 -07:00 |
|
Nikolay Kim
|
f689f6500a
|
export more service types
|
2018-08-28 20:29:56 -07:00 |
|
Nikolay Kim
|
10d2c67596
|
better Connector impl
|
2018-08-28 16:24:36 -07:00 |
|
Nikolay Kim
|
6ec5e958ac
|
add .map service combinator
|
2018-08-28 10:39:27 -07:00 |
|
Nikolay Kim
|
71d725d250
|
add Connector helper method
|
2018-08-27 21:53:20 -07:00 |
|
Nikolay Kim
|
f9b9031af2
|
add clone impls
|
2018-08-27 20:32:49 -07:00 |
|
Nikolay Kim
|
ddfe1322a1
|
use same Request for OpensslConnector service as for connector
|
2018-08-27 14:29:01 -07:00 |
|
Nikolay Kim
|
c69d675113
|
Connector::Response returns addr and tcp stream
|
2018-08-27 14:20:41 -07:00 |
|
Nikolay Kim
|
3dbaef3ec1
|
move config to generic type
|
2018-08-25 14:46:05 -07:00 |
|
Nikolay Kim
|
89b8da724b
|
split service mod
|
2018-08-25 09:02:14 -07:00 |
|
Nikolay Kim
|
0eae4d84b1
|
fix and and then new service
|
2018-08-24 13:18:05 -07:00 |
|
Nikolay Kim
|
f2ef824011
|
add NewConfigurableService trait
|
2018-08-23 22:12:10 -07:00 |
|
Nikolay Kim
|
aba9b09450
|
export ConnectorError
|
2018-08-23 20:52:31 -07:00 |
|
Nikolay Kim
|
234c76f8bc
|
add connector
|
2018-08-23 20:47:41 -07:00 |
|
Nikolay Kim
|
a5a026b5c4
|
remove custom NewService and cleanups
|
2018-08-23 15:42:34 -07:00 |
|
Nikolay Kim
|
1261ecbce0
|
fix examples
|
2018-08-23 13:39:13 -07:00 |
|
Nikolay Kim
|
d97f78afbe
|
use factory function instead of NewService for service registration
|
2018-08-23 13:16:14 -07:00 |
|
Nikolay Kim
|
2818540d69
|
fix error mapping in MapErrNewService
|
2018-08-22 18:18:11 -07:00 |
|
Nikolay Kim
|
c7543e7228
|
add Server::configure helper
|
2018-08-22 11:36:56 -07:00 |
|
Nikolay Kim
|
26f472649a
|
default impl for fork method
|
2018-08-22 11:12:06 -07:00 |
|
Nikolay Kim
|
29490e6c13
|
cleanups
|
2018-08-21 21:11:16 -07:00 |
|
Nikolay Kim
|
0f8cd0f44d
|
better FnNewService definition
|
2018-08-21 20:42:43 -07:00 |
|
Nikolay Kim
|
b8c8dbc90a
|
add new service configuration
|
2018-08-21 17:08:23 -07:00 |
|
Nikolay Kim
|
2cbcc21168
|
fix worker shutdown
|
2018-08-20 22:21:23 -07:00 |
|
Nikolay Kim
|
ac70f06c4f
|
add basic example
|
2018-08-20 21:34:47 -07:00 |
|
Nikolay Kim
|
36ed2307ce
|
add .map_init_err() new service combinator
|
2018-08-20 20:48:42 -07:00 |
|
Nikolay Kim
|
8faf373a99
|
add .map_err() service combinator
|
2018-08-20 20:41:40 -07:00 |
|
Nikolay Kim
|
1a496f4fda
|
initial import
|
2018-08-19 10:47:04 -07:00 |
|