Documentation ¶
Index ¶
- func DomainNeedle(queryDomain parser.Domain) (string, error)
- func FullDomainNeedle(queryDomain parser.Domain) (string, error)
- func NewDomainPool(requests <-chan DomainQuery)
- func NewReversePool(requests <-chan ReverseQuery)
- type DomainQuery
- type DomainResponse
- type DomainSearch
- type ReverseQuery
- type ReverseResponse
- type ReverseSearch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDomainPool ¶
func NewDomainPool(requests <-chan DomainQuery)
func NewReversePool ¶
func NewReversePool(requests <-chan ReverseQuery)
Types ¶
type DomainQuery ¶
type DomainQuery struct { Query string NeedleFunc domainNeedleFunc Take int Skip int ResponseChannel chan DomainResponse }
type DomainResponse ¶
type DomainSearch ¶
type DomainSearch struct {
// contains filtered or unexported fields
}
func NewDomainSearch ¶
func NewDomainSearch(inputFileName string, query string, needleFunc domainNeedleFunc) (*DomainSearch, error)
func (*DomainSearch) Close ¶
func (ds *DomainSearch) Close()
func (*DomainSearch) Error ¶
func (ds *DomainSearch) Error() error
func (*DomainSearch) Next ¶
func (ds *DomainSearch) Next() bool
func (*DomainSearch) Skip ¶
func (ds *DomainSearch) Skip(size int) *DomainSearch
func (*DomainSearch) Take ¶
func (ds *DomainSearch) Take(size int) []string
func (*DomainSearch) Text ¶
func (ds *DomainSearch) Text() string
type ReverseQuery ¶
type ReverseQuery struct { Query string Take int Skip int ResponseChannel chan ReverseResponse }
type ReverseResponse ¶
type ReverseSearch ¶
type ReverseSearch struct {
// contains filtered or unexported fields
}
func NewReverseSearch ¶
func NewReverseSearch(inputFileName string, query string) (*ReverseSearch, error)
func (*ReverseSearch) Close ¶
func (rs *ReverseSearch) Close()
func (*ReverseSearch) Error ¶
func (rs *ReverseSearch) Error() error
func (*ReverseSearch) Next ¶
func (rs *ReverseSearch) Next() bool
func (*ReverseSearch) Result ¶
func (rs *ReverseSearch) Result() reverseResult
func (*ReverseSearch) Skip ¶
func (rs *ReverseSearch) Skip(size int) *ReverseSearch
Click to show internal directories.
Click to hide internal directories.