onyphe

package
v2.16.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package onyphe logic

Index

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

func (r *Result) UnmarshalJSON(data []byte) error

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 (s *Source) AddApiKeys(keys []string)

func (*Source) HasRecursiveSupport

func (s *Source) HasRecursiveSupport() bool

func (*Source) IsDefault

func (s *Source) IsDefault() bool

func (*Source) KeyRequirement

func (s *Source) KeyRequirement() subscraping.KeyRequirement

func (*Source) Name

func (s *Source) Name() string

Name returns the name of the source

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL