type github.com/gotd/td/transport.Protocol
7 uses
github.com/gotd/td/transport (current package)
protocol.go#L14: type Protocol struct {
protocol.go#L21: func NewProtocol(getCodec func() Codec) Protocol {
protocol.go#L22: return Protocol{
protocol.go#L53: func (p Protocol) Codec() Codec {
protocol.go#L58: func (p Protocol) CodecNoHeader() Codec {
protocol.go#L63: func (p Protocol) Handshake(conn net.Conn) (Conn, error) {
protocol.go#L76: func (p Protocol) Pipe() (a, b Conn) {
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. |