WithClient configures a custom HTTP client.
(client *http.Client)
| 134 | |
| 135 | // WithClient configures a custom HTTP client. |
| 136 | func WithClient(client *http.Client) CheckOption { |
| 137 | return checkOptionFunc(func(o *checkOptions) { |
| 138 | o.client = client |
| 139 | }) |
| 140 | } |
| 141 | |
| 142 | // WithURLs configures custom URLs for source and documentation. |
| 143 | func WithURLs(sourceURL, docsURL string) CheckOption { |
no test coverage detected