MCPcopy Index your code
hub / github.com/aceld/zinx / Use

Method Use

znet/server.go:501–506  ·  view source on GitHub ↗
(Handlers ...ziface.RouterHandler)

Source from the content-addressed store, hash-verified

499}
500
501func (s *Server) Use(Handlers ...ziface.RouterHandler) ziface.IRouterSlices {
502 if !s.RouterSlicesMode {
503 panic("Server RouterSlicesMode is false")
504 }
505 return s.msgHandler.Use(Handlers...)
506}
507
508func (s *Server) GetConnMgr() ziface.IConnManager {
509 return s.ConnMgr

Callers

nothing calls this directly

Calls 1

UseMethod · 0.65

Tested by

no test coverage detected