MCPcopy Create free account
hub / github.com/PuerkitoBio/fetchbot / fullCmd

Struct fullCmd

cmd_test.go:268–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268type fullCmd struct {
269 *Cmd
270 user, pwd string
271 r io.Reader
272 vals url.Values
273 cooks []*http.Cookie
274 hdr http.Header
275}
276
277func (f *fullCmd) BasicAuth() (string, string) {
278 return f.user, f.pwd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected