Help us shape the future of Go! Take the 2026 Go Developer Survey

binaryedge

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URL  = "https://api.binaryedge.io/v2/query/ip/%s"
	Size = 100
)

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(ctx context.Context, session *sources.Session, query *sources.Query) (chan sources.Result, error)

type BinaryedgeEvent

type BinaryedgeEvent struct {
	Results []BinaryedgeResult `json:"results"`
	Port    int                `json:"port"`
}

type BinaryedgeOrigin

type BinaryedgeOrigin struct {
	Module  string `json:"module"`
	Port    int    `json:"port"`
	IP      string `json:"ip"`
	Type    string `json:"type"`
	Ts      int64  `json:"ts"`
	Country string `json:"country"`
}

type BinaryedgeResponse

type BinaryedgeResponse struct {
	Total  int               `json:"total"`
	Query  string            `json:"query"`
	Events []BinaryedgeEvent `json:"events"`
}

type BinaryedgeResult

type BinaryedgeResult struct {
	Origin BinaryedgeOrigin `json:"origin"`
	Target BinaryedgeTarget `json:"target"`
}

type BinaryedgeTarget

type BinaryedgeTarget struct {
	Protocol string `json:"protocol"`
	Port     int    `json:"port"`
	IP       string `json:"ip"`
}

Jump to

Keyboard shortcuts

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