Rename to hdlrWrappers for symmetry sake

This commit is contained in:
Asim
2015-12-02 21:12:09 +00:00
parent 96d7975052
commit 5e364693ee
6 changed files with 34 additions and 36 deletions

View File

@@ -32,9 +32,9 @@ func newRpcServer(opts ...Option) Server {
return &rpcServer{
opts: options,
rpc: &server{
name: options.name,
serviceMap: make(map[string]*service),
wrappers: options.wrappers,
name: options.name,
serviceMap: make(map[string]*service),
hdlrWrappers: options.hdlrWrappers,
},
handlers: make(map[string]Handler),
subscribers: make(map[*subscriber][]broker.Subscriber),