(bytesPool statute.BytesPool)
| 116 | } |
| 117 | |
| 118 | func WithBytesPool(bytesPool statute.BytesPool) ServerOption { |
| 119 | return func(s *Server) { |
| 120 | s.BytesPool = bytesPool |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | func (s *Server) ServeConn(conn net.Conn) error { |
| 125 | reader := bufio.NewReader(conn) |
nothing calls this directly
no outgoing calls
no test coverage detected