uploader

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_UPLOAD_SIZE = 50 * 1024 * 1024 // 50 MB is default Telegram API file size limit

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	// contains filtered or unexported fields
}

type Uploader

type Uploader struct {
	// contains filtered or unexported fields
}

func NewUploader

func NewUploader(ctx context.Context, config *config.Config) (*Uploader, error)

func (*Uploader) Start

func (u *Uploader) Start()

func (*Uploader) Stop

func (u *Uploader) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL