MCPcopy Create free account
hub / github.com/SpectoLabs/hoverfly / sendJournalIDToPostServeAction

Function sendJournalIDToPostServeAction

core/proxy.go:124–129  ·  view source on GitHub ↗
(journalIDChannel chan string, id string)

Source from the content-addressed store, hash-verified

122}
123
124func sendJournalIDToPostServeAction(journalIDChannel chan string, id string) {
125 if journalIDChannel != nil {
126 journalIDChannel <- id
127 close(journalIDChannel)
128 }
129}
130
131// Creates goproxy.ProxyHttpServer and configures it to be used as a webserver for Hoverfly
132// goproxy is given a non proxy handler that uses the Hoverfly request processing

Callers 2

NewProxyFunction · 0.85
NewWebserverProxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected