NewBasicCredentials creates a new Credentials object from the given username and password.
(username, password string)
| 72 | |
| 73 | // NewBasicCredentials creates a new Credentials object from the given username and password. |
| 74 | func NewBasicCredentials(username, password string) Credentials { |
| 75 | return &basicAuth{ |
| 76 | username: username, |
| 77 | password: password, |
| 78 | } |
| 79 | } |
no outgoing calls