Versions in this module Expand all Collapse all v1 v1.0.0 Jul 14, 2022 Changes in this version + type ArgError struct + Message string + Name string + func (a *ArgError) Error() string + type Client struct + func NewBasicClient(apiKey string) *Client + func NewClient(apiKey string, params ClientParams) *Client + func (c *Client) Do(ctx context.Context, req *http.Request, v io.Writer) (response *http.Response, err error) + func (c *Client) NewRequest(method string, u *url.URL, body io.Reader) (*http.Request, error) + type ClientParams struct + HTTPClient *http.Client + WContactsBaseURL *url.URL + type Emails struct + Description string + Email string + type ErrorMessage struct + Code int + Message string + func (e ErrorMessage) Error() string + type ErrorResponse struct + Message string + Response *http.Response + func (e ErrorResponse) Error() string + type Meta struct + Description string + Title string + type Option func(v url.Values) + func OptionHardRefresh(value int) Option + func OptionOutputFormat(outputFormat string) Option + type Phones struct + CallHours string + Description string + PhoneNumber string + type Response struct + Body []byte + type SocialLinks struct + Facebook string + Instagram string + LinkedIn string + Twitter string + type WContactsResponse struct + CompanyNames []string + CountryCode string + DomainName string + Emails []Emails + Meta Meta + Phones []Phones + PostalAddresses []string + SocialLinks SocialLinks + WebsiteResponded bool + type WContactsService interface + Get func(ctx context.Context, domainName string, opts ...Option) (*WContactsResponse, *Response, error) + GetRaw func(ctx context.Context, domainName string, opts ...Option) (*Response, error)