Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServerInformalPropertyDNSSEC = ServerInformalProperties(1) << 0 ServerInformalPropertyNoLog = ServerInformalProperties(1) << 1 ServerInformalPropertyNoFilter = ServerInformalProperties(1) << 2 )
View Source
const ( StampProtoTypePlain = StampProtoType(0x00) StampProtoTypeDNSCrypt = StampProtoType(0x01) StampProtoTypeDoH = StampProtoType(0x02) )
View Source
const DefaultPort = 443
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerInformalProperties ¶
type ServerInformalProperties uint64
type ServerStamp ¶
type ServerStamp struct { ServerAddrStr string ServerPk []uint8 Hashes [][]uint8 ProviderName string Path string Props ServerInformalProperties Proto StampProtoType }
func NewDNSCryptServerStampFromLegacy ¶
func NewDNSCryptServerStampFromLegacy(serverAddrStr string, serverPkStr string, providerName string, props ServerInformalProperties) (ServerStamp, error)
func NewServerStampFromString ¶
func NewServerStampFromString(stampStr string) (ServerStamp, error)
func (*ServerStamp) String ¶
func (stamp *ServerStamp) String() string
type StampProtoType ¶
type StampProtoType uint8
func (*StampProtoType) String ¶
func (stampProtoType *StampProtoType) String() string
Click to show internal directories.
Click to hide internal directories.