MCPcopy Create free account
hub / github.com/zalando/skipper / testRequest

Function testRequest

logging/access_test.go:35–45  ·  view source on GitHub ↗
(params url.Values)

Source from the content-addressed store, hash-verified

33}
34
35func testRequest(params url.Values) *http.Request {
36 r, _ := http.NewRequest("GET", "http://frank@example.com", nil)
37 r.RequestURI = "/apache_pb.gif"
38 r.RemoteAddr = "127.0.0.1"
39
40 if params != nil {
41 r.URL.RawQuery = params.Encode()
42 }
43
44 return r
45}
46
47func testDate() time.Time {
48 l := time.FixedZone("foo", -7*3600)

Callers 2

testAccessEntryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…