MCPcopy
hub / github.com/probelabs/goreplay / HTTPInput

Struct HTTPInput

input_http.go:12–17  ·  view source on GitHub ↗

HTTPInput used for sending requests to Gor via http

Source from the content-addressed store, hash-verified

10
11// HTTPInput used for sending requests to Gor via http
12type 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.
20func NewHTTPInput(address string) (i *HTTPInput) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected