Documentation ¶
Overview ¶
Package streaming contains structure and methods for uploading and downloading files from LocalEGA instance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseJson ¶ added in v1.1.1
type Streamer ¶
type Streamer interface { Upload(path string, resume, straight bool) error Download(fileName string) error // contains filtered or unexported methods }
Streamer interface provides methods for uploading and downloading files from LocalEGA instance.
func NewStreamer ¶
func NewStreamer(client *requests.Client, fileManager *files.FileManager, resumablesManager *resuming.ResumablesManager, straight bool) (Streamer, error)
NewStreamer method constructs Streamer structure.
Click to show internal directories.
Click to hide internal directories.