SetHttpTimeout will set the timeout for the CredHub client
(timeout *time.Duration)
| 91 | |
| 92 | // SetHttpTimeout will set the timeout for the CredHub client |
| 93 | func SetHttpTimeout(timeout *time.Duration) Option { |
| 94 | return func(c *CredHub) error { |
| 95 | c.httpTimeout = timeout |
| 96 | return nil |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | func ServerVersion(version string) Option { |
| 101 | return func(c *CredHub) error { |
no outgoing calls
no test coverage detected
searching dependent graphs…