type github.com/gotd/td/telegram/downloader.Downloader
27 uses
github.com/gotd/td/telegram/downloader (current package)
builder.go#L17: downloader *Downloader
builder.go#L45: func newBuilder(downloader *Downloader, schema schema) *Builder {
downloader.go#L14: type Downloader struct {
downloader.go#L37: func NewDownloader() *Downloader {
downloader.go#L38: return new(Downloader).WithPartSize(defaultPartSize)
downloader.go#L46: func (d *Downloader) Clone() *Downloader {
downloader.go#L55: func (d *Downloader) WithPartSize(partSize int) *Downloader {
downloader.go#L67: func (d *Downloader) WithAllowCDN(allow bool) *Downloader {
downloader.go#L76: func (d *Downloader) WithRetryHandler(handler RetryHandler) *Downloader {
downloader.go#L82: func (d *Downloader) Download(rpc Client, location tg.InputFileLocationClass) *Builder {
downloader.go#L93: func (d *Downloader) Web(rpc Client, location tg.InputWebFileLocationClass) *Builder {
metrics.go#L344: func (d *Downloader) WithMeterProvider(mp metric.MeterProvider) *Downloader {
metrics.go#L351: func (d *Downloader) WithLogger(l log.Logger) *Downloader {
parallel.go#L16: func (d *Downloader) parallel(
scheduler.go#L238: func (d *Downloader) WithScheduler(s *Scheduler) *Downloader {
stream.go#L13: func (d *Downloader) stream(ctx context.Context, r *reader, s sink, w io.Writer) (tg.StorageFileTypeClass, error) {
github.com/gotd/td/telegram
client.go#L213: downloader *downloader.Downloader // immutable
download.go#L110: func (c *Client) Downloader() *downloader.Downloader {
download.go#L119: func newClientDownloader(allowCDN bool, mp metric.MeterProvider, lg log.Logger) *downloader.Downloader {
download.go#L132: func (c *Client) homeDownloader() *downloader.Downloader {
![]() |
The pages are generated with Golds v0.8.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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |