Documentation ¶
Index ¶
Constants ¶
View Source
const STUN = "stun"
Variables ¶
View Source
var ATTRIBUTES = map[uint32]string{
0x0001: "MappedAddress",
0x0006: "Username",
0x0008: "MessageIntegrity",
0x0009: "ErrorCode",
0x000a: "UnknownAttributes",
0x0014: "Realm",
0x0015: "Nonce",
0x0020: "XORMappedAddress",
0x8022: "Software",
0x8023: "AlternateServer",
0x8028: "Fingerprint",
}
View Source
var BindingResponse = "0101"
View Source
var FingerprintAttrLength = 8
View Source
var FingerprintXor uint32 = 0x5354554e
View Source
var MagicCookie = "2112a442"
View Source
var MessageHeaderLength = 20
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.