net/url.Userinfo.Password (method)
13 uses
net/url (current package)
url.go#L408: func (u *Userinfo) Password() (string, bool) {
url.go#L868: if _, has := ru.User.Password(); has {
net/http
client.go#L240: password, _ := u.Password()
client.go#L1004: _, passSet := u.User.Password()
transport.go#L844: password, _ := u.Password()
transport.go#L1627: auth.Password, _ = u.Password()
github.com/go-git/go-git/v5/plumbing/transport
common.go#L187: pass, _ = u.User.Password()
github.com/go-redis/redis/v8
options.go#L203: if p, ok := u.User.Password(); ok {
github.com/jackc/pgconn
config.go#L394: if password, present := url.User.Password(); present {
errors.go#L189: if _, pwSet := u.User.Password(); pwSet {
github.com/lib/pq
url.go#L54: v, _ = u.User.Password()
golang.org/x/net/proxy
proxy.go#L86: if p, ok := u.User.Password(); ok {
google.golang.org/grpc
proxy.go#L93: p, _ := t.Password()
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |