github.com/gotd/td/internal/mtproxy/obfuscated2.Metadata.Protocol (field)
8 uses
github.com/gotd/td/internal/mtproxy/obfuscated2 (current package)
server.go#L10: Protocol [4]byte
server.go#L34: copy(meta.Protocol[:], decrypted[56:60])
github.com/gotd/td/transport
obfuscated.go#L60: if md.Protocol[0] == codec.AbridgedClientStart[0] {
obfuscated.go#L62: tag = bytes.NewReader(md.Protocol[:1])
obfuscated.go#L64: tag = bytes.NewReader(md.Protocol[:])
websocket.go#L53: if md.Protocol[0] == codec.AbridgedClientStart[0] {
websocket.go#L55: tag = bytes.NewReader(md.Protocol[:1])
websocket.go#L57: tag = bytes.NewReader(md.Protocol[:])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |