(opts Options)
| 114 | } |
| 115 | |
| 116 | func New(opts Options) *Client { |
| 117 | return &Client{httpClient: opts.HTTPClient, auth: opts.Auth} |
| 118 | } |
| 119 | |
| 120 | func (c *Client) Probe(ctx context.Context, req ProbeRequest) (ProbeResult, error) { |
| 121 | if err := req.Options.Validate(); err != nil { |
no outgoing calls