use the router
This commit is contained in:
parent
7a1cef46b0
commit
000e25a4b2
@ -40,7 +40,7 @@ func newRpcServer(opts ...Option) Server {
|
|||||||
|
|
||||||
return &rpcServer{
|
return &rpcServer{
|
||||||
opts: options,
|
opts: options,
|
||||||
router: DefaultRouter,
|
router: router,
|
||||||
handlers: make(map[string]Handler),
|
handlers: make(map[string]Handler),
|
||||||
subscribers: make(map[*subscriber][]broker.Subscriber),
|
subscribers: make(map[*subscriber][]broker.Subscriber),
|
||||||
exit: make(chan chan error),
|
exit: make(chan chan error),
|
||||||
|
Loading…
Reference in New Issue
Block a user