type github.com/gotd/td/telegram/downloader.Builder
24 uses
github.com/gotd/td/telegram/downloader (current package)
builder.go#L16: type Builder struct {
builder.go#L28: func newBuilder(downloader *Downloader, schema schema) *Builder {
builder.go#L29: return &Builder{
builder.go#L37: func (b *Builder) WithThreads(threads int) *Builder {
builder.go#L48: func (b *Builder) WithRetryHandler(handler RetryHandler) *Builder {
builder.go#L74: func (b *Builder) WithVerify(verify bool) *Builder {
builder.go#L79: func (b *Builder) prepareMaster(m master, allowCDN bool) *Builder {
builder.go#L90: func (b *Builder) prepareCDNPath(m master, provider CDNProvider) *Builder {
builder.go#L112: func (b *Builder) shouldAllowCDN() bool {
builder.go#L128: func (b *Builder) prepare() (_ *Builder, closeCDN func() error, err error) {
builder.go#L154: func (b *Builder) reader() *reader {
builder.go#L164: func (b *Builder) Stream(ctx context.Context, output io.Writer) (_ tg.StorageFileTypeClass, err error) {
builder.go#L179: func (b *Builder) Parallel(ctx context.Context, output io.WriterAt) (_ tg.StorageFileTypeClass, err error) {
builder.go#L195: func (b *Builder) ToPath(ctx context.Context, path string) (_ tg.StorageFileTypeClass, err error) {
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 {
github.com/gotd/td/telegram
download.go#L87: func (c *Client) Download(location tg.InputFileLocationClass) *downloader.Builder {
download.go#L92: func (c *Client) DownloadWeb(location tg.InputWebFileLocationClass) *downloader.Builder {
 |
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. |