types

package
v0.0.0-...-695b9c6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserInfo

type BrowserInfo struct {
	Path string
	Type BrowserType
}

type BrowserType

type BrowserType string
const (
	BrowserChrome BrowserType = "chrome"
	BrowserEdge   BrowserType = "edge"
)

type BrowserVersion

type BrowserVersion struct {
	FullVersion  string
	MajorVersion int
}

type CapturedProfile

type CapturedProfile struct {
	TLS        *TLSFingerprint   `json:"tls"`
	HTTP2      *HTTP2Fingerprint `json:"http2"`
	CapturedAt time.Time         `json:"captured_at"`
}

CapturedProfile содержит полный подлинный слепок браузера.

type HTTP2Fingerprint

type HTTP2Fingerprint struct {
	Settings          map[uint16]uint32 `json:"settings"`
	SettingsOrder     []uint16          `json:"settings_order"`
	ConnectionFlow    uint32            `json:"connection_flow"`
	PseudoHeaderOrder []string          `json:"pseudo_header_order"`
	HeaderOrder       []string          `json:"header_order"`
	CapturedHeaders   map[string]string `json:"captured_headers"`
}

HTTP2Fingerprint содержит разобранные сетевые настройки HTTP/2.

type TLSFingerprint

type TLSFingerprint struct {
	RecordVersion       uint16            `json:"record_version"`
	HandshakeVersion    uint16            `json:"handshake_version"`
	CipherSuites        []uint16          `json:"cipher_suites"`
	CompressionMethods  []byte            `json:"compression_methods"`
	Extensions          []uint16          `json:"extensions"`
	SupportedCurves     []uint16          `json:"supported_curves,omitempty"`
	SupportedPoints     []byte            `json:"supported_points,omitempty"`
	ALPNProtocols       []string          `json:"alpn_protocols,omitempty"`
	KeyShareGroups      []uint16          `json:"key_share_groups,omitempty"`
	SignatureAlgorithms []uint16          `json:"signature_algorithms,omitempty"`
	RawExtensions       map[uint16][]byte `json:"raw_extensions,omitempty"`
}

TLSFingerprint содержит разобранные сырые параметры TLS-рукопожатия.

Jump to

Keyboard shortcuts

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