(p []byte)
| 125 | } |
| 126 | |
| 127 | func (ep *echoPipe) Write(p []byte) (int, error) { |
| 128 | return ep.writer.Write(p) |
| 129 | } |
| 130 | |
| 131 | // A mock origin that echos data by streaming like a tcpOverWSConnection |
| 132 | // https://github.com/cloudflare/cloudflared/blob/master/ingress/origin_connection.go |