func github.com/gotd/td/transport.NewProtocol
8 uses
github.com/gotd/td/transport (current package)
protocol.go#L21: func NewProtocol(getCodec func() Codec) Protocol {
protocol.go#L34: Abridged = NewProtocol(func() Codec { return codec.Abridged{} })
protocol.go#L39: Intermediate = NewProtocol(func() Codec { return codec.Intermediate{} })
protocol.go#L44: PaddedIntermediate = NewProtocol(func() Codec { return codec.PaddedIntermediate{} })
protocol.go#L49: Full = NewProtocol(func() Codec { return &codec.Full{} })
github.com/gotd/td/telegram/dcs
mtproxy.go#L135: protocol: transport.NewProtocol(func() transport.Codec { return codec.NoHeader{Codec: cdc} }),
plain.go#L111: proto = transport.NewProtocol(func() transport.Codec {
websocket.go#L99: protocol: transport.NewProtocol(func() transport.Codec { return codec.NoHeader{Codec: cdc} }),
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. |