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

Struct basicAuthCmd

cmd_test.go:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19)
20
21type basicAuthCmd struct {
22 *Cmd
23 user, pwd string
24}
25
26func (ba *basicAuthCmd) BasicAuth() (string, string) {
27 return ba.user, ba.pwd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected