Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
Downloader interface for downloading sharelatex project
func NewDownloader ¶
func NewDownloader(sessionKey, projectURL string) Downloader
NewDownloader create a new downloader instance
type HTTPDownloader ¶
type HTTPDownloader struct {
SessionKey, ProjectURL, Output string
}
HTTPDownloader represents sharelatex project downloader
func (*HTTPDownloader) Download ¶
func (d *HTTPDownloader) Download(wd string) error
Download downloads project zip using credentials provided using wd as current directory
Click to show internal directories.
Click to hide internal directories.