zoomeye_spider

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URL = "https://www.zoomeye.org/api/search?q=%s&page=%d&pageSize=%d"

	Source = "zoomeye-spider"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct{}

func (*Agent) Name

func (agent *Agent) Name() string

func (*Agent) Query

func (agent *Agent) Query(session *sources.Session, query *sources.Query) (chan sources.Result, error)

type Request

type Request struct {
	Query    string `json:"q"`
	Page     int    `json:"page"`
	PageSize int    `json:"pageSize"`
}

Jump to

Keyboard shortcuts

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