MCPcopy
hub / github.com/davecheney/httpstat / String

Method String

main.go:490–496  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

488type headers []string
489
490func (h headers) String() string {
491 var o []string
492 for _, v := range h {
493 o = append(o, "-H "+v)
494 }
495 return strings.Join(o, " ")
496}
497
498func (h *headers) Set(v string) error {
499 *h = append(*h, v)

Callers 2

TestParseURLFunction · 0.80
newRequestFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestParseURLFunction · 0.64