ooni-probe-cli/internal/netxlite/dnsx/model/model.go
Simone Basso 8b9fe1a160
feat(netxlite): implement LookupHTTPS (#514)
This new API call performs DNS lookups for HTTPS records.

Part of https://github.com/ooni/probe/issues/1733 and diff has been
extracted from https://github.com/ooni/probe-cli/pull/506.
2021-09-27 23:09:41 +02:00

15 lines
282 B
Go

// Package model contains the dnsx model.
package model
// HTTPSSvc is an HTTPSSvc reply.
type HTTPSSvc struct {
// ALPN contains the ALPNs inside the HTTPS reply
ALPN []string
// IPv4 contains the IPv4 hints.
IPv4 []string
// IPv6 contains the IPv6 hints.
IPv6 []string
}