(bytesPool statute.BytesPool)
| 114 | } |
| 115 | |
| 116 | func WithBytesPool(bytesPool statute.BytesPool) ServerOption { |
| 117 | return func(s *Server) { |
| 118 | s.BytesPool = bytesPool |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | func (s *Server) ServeConn(conn net.Conn) error { |
| 123 | version, err := readByte(conn) |
nothing calls this directly
no outgoing calls
no test coverage detected