type github.com/gotd/td/telegram/downloader.Downloader
16 uses
github.com/gotd/td/telegram/downloader (current package)
builder.go#L17: downloader *Downloader
builder.go#L28: func newBuilder(downloader *Downloader, schema schema) *Builder {
downloader.go#L10: type Downloader struct {
downloader.go#L25: func NewDownloader() *Downloader {
downloader.go#L26: return new(Downloader).WithPartSize(defaultPartSize)
downloader.go#L33: func (d *Downloader) WithPartSize(partSize int) *Downloader {
downloader.go#L45: func (d *Downloader) WithAllowCDN(allow bool) *Downloader {
downloader.go#L54: func (d *Downloader) WithRetryHandler(handler RetryHandler) *Downloader {
downloader.go#L60: func (d *Downloader) Download(rpc Client, location tg.InputFileLocationClass) *Builder {
downloader.go#L71: func (d *Downloader) Web(rpc Client, location tg.InputWebFileLocationClass) *Builder {
parallel.go#L16: func (d *Downloader) parallel(
stream.go#L13: func (d *Downloader) stream(ctx context.Context, r *reader, w io.Writer) (tg.StorageFileTypeClass, error) {
github.com/gotd/td/telegram
download.go#L81: func (c *Client) Downloader() *downloader.Downloader {
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |