OptionAuthMode returns a Client constructor option that sets the client's authentication mode.
(m auth.AuthMode)
| 417 | // OptionAuthMode returns a Client constructor option that sets the |
| 418 | // client's authentication mode. |
| 419 | func OptionAuthMode(m auth.AuthMode) ClientOption { |
| 420 | return optionAuthMode{m} |
| 421 | } |
| 422 | |
| 423 | // noop is for use with syncutil.Onces. |
| 424 | func noop() error { return nil } |
no outgoing calls
no test coverage detected