Handler responds to a TCP request. ServeTCP should write responses to the in connection and close it on return.
| 13 | // ServeTCP should write responses to the in connection and close |
| 14 | // it on return. |
| 15 | type Handler interface { |
| 16 | ServeTCP(in net.Conn) error |
| 17 | } |
| 18 | |
| 19 | type HandlerFunc func(in net.Conn) error |
| 20 |
no outgoing calls
no test coverage detected