AddMode adds the given authentication mode to the list of modes that future requests can authenticate against.
(am AuthMode)
| 206 | // AddMode adds the given authentication mode to the list of modes that future |
| 207 | // requests can authenticate against. |
| 208 | func AddMode(am AuthMode) { |
| 209 | modes = append(modes, am) |
| 210 | } |
| 211 | |
| 212 | type tokenAuth struct { |
| 213 | token string |
no outgoing calls