HTTPInput used for sending requests to Gor via http
| 10 | |
| 11 | // HTTPInput used for sending requests to Gor via http |
| 12 | type HTTPInput struct { |
| 13 | data chan []byte |
| 14 | address string |
| 15 | listener net.Listener |
| 16 | stop chan bool // Channel used only to indicate goroutine should shutdown |
| 17 | } |
| 18 | |
| 19 | // NewHTTPInput constructor for HTTPInput. Accepts address with port which it will listen on. |
| 20 | func NewHTTPInput(address string) (i *HTTPInput) { |
nothing calls this directly
no outgoing calls
no test coverage detected