Versions in this module Expand all Collapse all v1 v1.0.2 Jul 27, 2020 Changes in this version + func WithAPIKey(apiKey string) func(*config) + func WithBaseURLs(urls map[string]string) func(*config) + func WithTimeout(d time.Duration) func(*config) + type AutocompleteItem struct + Domain string + Logo string + Name string + type AutocompleteService struct + func (s *AutocompleteService) Suggest(params AutocompleteSuggestParams) ([]AutocompleteItem, *http.Response, error) + type AutocompleteSuggestParams struct + Query string + type BaseURLs struct + Autocomplete string + Company string + Discovery string + NameToDomain string + Person string + Prospector string + Reveal string + Risk string + func NewBaseURLs(overrideURLs map[string]string) *BaseURLs + type Client struct + Autocomplete *AutocompleteService + Company *CompanyService + Discovery *DiscoveryService + NameToDomain *NameToDomainService + Person *PersonService + Prospector *ProspectorService + Reveal *RevealService + Risk *RiskService + func NewClient(options ...Option) *Client + type Company struct + Category struct{ ... } + Crunchbase struct{ ... } + Description string + Domain string + DomainAliases []string + EmailProvider bool + Facebook struct{ ... } + FoundedYear int + Geo struct{ ... } + ID string + Identifiers struct{ ... } + IndexedAt time.Time + LegalName string + LinkedIn struct{ ... } + Location string + Logo string + Metrics struct{ ... } + Name string + Parent struct{ ... } + Phone string + Site struct{ ... } + Tags []string + Tech []string + Ticker string + TimeZone string + Twitter struct{ ... } + Type string + UtcOffset int + type CompanyFindParams struct + Domain string + type CompanyService struct + func (s *CompanyService) Find(params CompanyFindParams) (*Company, *http.Response, error) + type DiscoveryResults struct + Page int + Results []Company + Total int + type DiscoverySearchParams struct + Limit int + Page int + PageSize int + Query string + Sort int + type DiscoveryService struct + func (s *DiscoveryService) Search(params DiscoverySearchParams) (*DiscoveryResults, *http.Response, error) + type ErrorDetail struct + Message string + Type string + type ErrorDetailWrapper struct + Error ErrorDetail + type NameToDomain struct + Domain string + Logo string + Name string + type NameToDomainFindParams struct + Name string + type NameToDomainService struct + func (s *NameToDomainService) Find(params NameToDomainFindParams) (*NameToDomain, *http.Response, error) + type Option func(*config) + func WithHTTPClient(httpClient *http.Client) Option + type Person struct + AboutMe struct{ ... } + Avatar string + Bio string + Email string + EmailProvider bool + Employment struct{ ... } + Facebook struct{ ... } + Fuzzy bool + Gender string + Geo struct{ ... } + GitHub struct{ ... } + GooglePlus struct{ ... } + Gravatar struct{ ... } + ID string + IndexedAt time.Time + LinkedIn struct{ ... } + Location string + Name struct{ ... } + Site string + TimeZone string + Twitter struct{ ... } + UTCOffset int + type PersonCompany struct + Company Company + Person Person + type PersonFindParams struct + Email string + type PersonService struct + func (s *PersonService) Find(params PersonFindParams) (*Person, *http.Response, error) + func (s *PersonService) FindCombined(params PersonFindParams) (*PersonCompany, *http.Response, error) + type ProspectorResponse struct + Page int + PageSize int + Results []struct{ ... } + Total int + type ProspectorSearchParams struct + Cities []string + City string + Countries []string + Country string + Domain string + Name string + Page int + PageSize int + Role string + Roles []string + Seniorities []string + Seniority string + State string + States []string + Title string + Titles []string + type ProspectorService struct + func (s *ProspectorService) Search(params ProspectorSearchParams) (ProspectorResponse, *http.Response, error) + type Reveal struct + Company Company + Domain string + Fuzzy bool + IP string + type RevealFindParams struct + IP string + type RevealService struct + func (s *RevealService) Find(params RevealFindParams) (*Reveal, *http.Response, error) + type Risk struct + Address struct{ ... } + Email struct{ ... } + ID string + IP struct{ ... } + Live bool + Risk struct{ ... } + type RiskCalculateParams struct + CountryCode string + Email string + FamilyName string + GivenName string + IP string + Name string + ZipCode string + type RiskService struct + func (s *RiskService) Calculate(params RiskCalculateParams) (*Risk, *http.Response, error)