add handler implementation

This commit is contained in:
smallnest
2021-08-02 18:25:14 +08:00
parent 20e332420a
commit 76a04cd1b1

View File

@@ -112,6 +112,7 @@ func NewServer(options ...OptionFn) *Server {
activeConn: make(map[net.Conn]struct{}),
doneChan: make(chan struct{}),
serviceMap: make(map[string]*service),
router: make(map[string]Handler),
}
for _, op := range options {