type github.com/gotd/td/transport.Codec
17 uses
github.com/gotd/td/transport (current package)
codec.go#L10: type Codec interface {
connection.go#L26: codec Codec
detect_codec.go#L12: func detectCodec(c io.Reader) (Codec, io.Reader, error) {
listener.go#L14: codec func() Codec
listener.go#L26: func ListenCodec(codec func() Codec, listener net.Listener) Listener {
protocol.go#L15: codec func() Codec
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{} })
protocol.go#L53: func (p Protocol) Codec() Codec {
protocol.go#L58: func (p Protocol) CodecNoHeader() Codec {
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 {
resolver.go#L26: Codec() 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. |