Source File
external.go
Belonging Package
github.com/gotd/td/internal/rpc
package rpc
import (
)
// Send is a function that sends requests to the server.
type Send func(ctx context.Context, msgID int64, seqNo int32, in bin.Encoder) error
// NopSend does nothing.
func (context.Context, int64, int32, bin.Encoder) error { return nil }
var _ Send = NopSend
// DropHandler handles drop rpc requests.
type DropHandler func(req Request) error
// NopDrop does nothing.
func (Request) error { return nil }
var _ DropHandler = NopDrop
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. |