Documentation ¶
Index ¶
- type Bot
- func (b *Bot) CWD() putio.File
- func (b *Bot) Children() []putio.File
- func (b *Bot) ConvertToMP4(ctx context.Context, id int64) error
- func (b *Bot) ListFiles(ctx context.Context, parent int64) ([]putio.File, putio.File, error)
- func (b *Bot) Messages() <-chan *Message
- func (b *Bot) Mkdir(ctx context.Context, dirname string, parentid int64) (*putio.File, error)
- func (b *Bot) MoveFiles(ctx context.Context, parentid int64, files ...int64) error
- func (b *Bot) NewTransfer(ctx context.Context, url string) (putio.Transfer, error)
- func (b *Bot) SelectFile(f putio.File)
- func (b *Bot) SelectedFile() putio.File
- func (b *Bot) SetCWD(cwd putio.File)
- func (b *Bot) SetChildren(c []putio.File)
- func (b *Bot) SetSubtitles(subs []*provider.Subtitle)
- func (b *Bot) Subtitles() []*provider.Subtitle
- func (b *Bot) UploadFile(ctx context.Context, rc io.ReadCloser, filename string, parentid int64) error
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
func (*Bot) NewTransfer ¶
func (*Bot) SelectFile ¶
func (*Bot) SelectedFile ¶
func (*Bot) SetChildren ¶
func (*Bot) SetSubtitles ¶
func (*Bot) UploadFile ¶
Click to show internal directories.
Click to hide internal directories.