Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
type
basicAuthCmd
struct
{
22
*Cmd
23
user, pwd string
24
}
25
26
func
(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