Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServerInformalPropertyDNSSEC = ServerInformalProperties(1) << 0 ServerInformalPropertyNoLog = ServerInformalProperties(1) << 1 ServerInformalPropertyNoFilter = ServerInformalProperties(1) << 2 )
View Source
const ( StampProtoTypeDNSCrypt = StampProtoType(0x01) StampProtoTypeDoH = StampProtoType(0x02) StampProtoTypeTLS = StampProtoType(0x03) StampProtoTypeDoTEx = StampProtoType(0x45) StampProtoTypeDoHEx = StampProtoType(0x69) StampProtoTypeProxy = StampProtoType(0x96) // HTTPS Proxy; SOCKS 5 Proxy; StampProtoTypeDNSCryptRelay = StampProtoType(0x81) StampProtoTypeDNSCryptEx = StampProtoType(0xA9) )
View Source
const ( SNIBlotUpTypeDefault = iota SNIBlotUpTypeOmit SNIBlotUpTypeIPAddr SNIBlotUpTypeMoniker )
View Source
const DefaultPort = 443
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicKey ¶
func NewPublicKey ¶
type SNIBlotUpType ¶
type SNIBlotUpType uint8
type ServerInformalProperties ¶
type ServerInformalProperties uint64
type ServerStamp ¶
type ServerStamp struct { ServerAddrStr string ProviderName string Path string Proxies string //All Ex - proxy Tags string //All Ex + proxy SNIShadow string //DoTEx DOHEx SNIBlotUp SNIBlotUpType //DoTEx DOHEx Proxy Props ServerInformalProperties Proto StampProtoType ServerPk HEXJSON Hashes []HEXJSON }
semicolon as delimiter of Tags, Proxies
func NewServerStampFromString ¶
func NewServerStampFromString(stampStr string) (ServerStamp, error)
type Signature ¶
type Signature struct { UntrustedComment string SignatureAlgorithm [2]byte KeyId [8]byte Signature [64]byte TrustedComment string GlobalSignature [64]byte }
func DecodeSignature ¶
type StampProtoType ¶
type StampProtoType uint8
func (*StampProtoType) String ¶
func (stampProtoType *StampProtoType) String() string
Click to show internal directories.
Click to hide internal directories.