archival

package
v3.15.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package archival contains data formats used for archival.

See https://github.com/ooni/spec.

Index

Constants

This section is empty.

Variables

View Source
var (
	ExtDNS          = model.ArchivalExtDNS
	ExtNetevents    = model.ArchivalExtNetevents
	ExtHTTP         = model.ArchivalExtHTTP
	ExtTCPConnect   = model.ArchivalExtTCPConnect
	ExtTLSHandshake = model.ArchivalExtTLSHandshake
	ExtTunnel       = model.ArchivalExtTunnel
)

Compatibility variables

Functions

func NewFailedOperation

func NewFailedOperation(err error) *string

NewFailedOperation creates a failed operation string from the given error.

func NewFailure

func NewFailure(err error) *string

NewFailure creates a failure nullable string from the given error

Types

type DNSAnswerEntry

type DNSAnswerEntry = model.ArchivalDNSAnswer

Compatibility types

type DNSQueryEntry

type DNSQueryEntry = model.ArchivalDNSLookupResult

Compatibility types

func NewDNSQueriesList

func NewDNSQueriesList(begin time.Time, events []trace.Event) []DNSQueryEntry

NewDNSQueriesList returns a list of DNS queries.

type ExtSpec

type ExtSpec = model.ArchivalExtSpec

Compatibility types

type HTTPBody

type HTTPBody = model.ArchivalHTTPBody

Compatibility types

type HTTPHeader

type HTTPHeader = model.ArchivalHTTPHeader

Compatibility types

type HTTPRequest

type HTTPRequest = model.ArchivalHTTPRequest

Compatibility types

type HTTPResponse

type HTTPResponse = model.ArchivalHTTPResponse

Compatibility types

type MaybeBinaryValue

type MaybeBinaryValue = model.ArchivalMaybeBinaryData

Compatibility types

type NetworkEvent

type NetworkEvent = model.ArchivalNetworkEvent

Compatibility types

func NewNetworkEventsList

func NewNetworkEventsList(begin time.Time, events []trace.Event) []NetworkEvent

NewNetworkEventsList returns a list of DNS queries.

type RequestEntry

type RequestEntry = model.ArchivalHTTPRequestResult

Compatibility types

func NewRequestList

func NewRequestList(begin time.Time, events []trace.Event) []RequestEntry

NewRequestList returns the list for "requests"

type TCPConnectEntry

type TCPConnectEntry = model.ArchivalTCPConnectResult

Compatibility types

func NewTCPConnectList

func NewTCPConnectList(begin time.Time, events []trace.Event) []TCPConnectEntry

NewTCPConnectList creates a new TCPConnectList

type TCPConnectStatus

type TCPConnectStatus = model.ArchivalTCPConnectStatus

Compatibility types

type TLSHandshake

Compatibility types

func NewTLSHandshakesList

func NewTLSHandshakesList(begin time.Time, events []trace.Event) []TLSHandshake

NewTLSHandshakesList creates a new TLSHandshakesList

Jump to

Keyboard shortcuts

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