Documentation
¶
Overview ¶
Package onyphe logic
Index ¶
- type OnypheResponse
- type OnypheResponseRaw
- type Result
- type ResultRaw
- type Source
- func (s *Source) AddApiKeys(keys []string)
- func (s *Source) HasRecursiveSupport() bool
- func (s *Source) IsDefault() bool
- func (s *Source) KeyRequirement() subscraping.KeyRequirement
- func (s *Source) Name() string
- func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Session) <-chan subscraping.Result
- func (s *Source) Statistics() subscraping.Statistics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnypheResponse ¶
type OnypheResponse struct {
Error int `json:"error"`
Results []Result `json:"results"`
Page int `json:"page"`
PageSize int `json:"page_size"`
Total int `json:"total"`
MaxPage int `json:"max_page"`
}
func (*OnypheResponse) UnmarshalJSON ¶
func (o *OnypheResponse) UnmarshalJSON(data []byte) error
type OnypheResponseRaw ¶
type OnypheResponseRaw struct {
Error int `json:"error"`
Results []Result `json:"results"`
Page json.RawMessage `json:"page"`
PageSize json.RawMessage `json:"page_size"`
Total json.RawMessage `json:"total"`
MaxPage json.RawMessage `json:"max_page"`
}
type Result ¶
type Result struct {
Subdomains []string `json:"subdomains"`
Hostname string `json:"hostname"`
Forward string `json:"forward"`
Reverse string `json:"reverse"`
Host string `json:"host"`
Domain string `json:"domain"`
}
func (*Result) UnmarshalJSON ¶
type ResultRaw ¶
type ResultRaw struct {
Subdomains json.RawMessage `json:"subdomains"`
Hostname json.RawMessage `json:"hostname"`
Forward json.RawMessage `json:"forward"`
Reverse json.RawMessage `json:"reverse"`
Host json.RawMessage `json:"host"`
Domain json.RawMessage `json:"domain"`
}
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func (*Source) AddApiKeys ¶
func (*Source) HasRecursiveSupport ¶
func (*Source) KeyRequirement ¶
func (s *Source) KeyRequirement() subscraping.KeyRequirement
func (*Source) Run ¶
func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Session) <-chan subscraping.Result
Run function returns all subdomains found with the service
func (*Source) Statistics ¶
func (s *Source) Statistics() subscraping.Statistics
Click to show internal directories.
Click to hide internal directories.