Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetVersion ¶
func SetVersion(v string)
SetVersion sets the application version for use in HTTP request header.
Types ¶
type Downloader ¶
Downloader retrieves a template from an URL.
type HTTPGetter ¶
type HTTPGetter struct {
// contains filtered or unexported fields
}
HTTPGetter is the default HTTP backend handler.
func NewHTTPGetter ¶
func NewHTTPGetter() *HTTPGetter
NewHTTPGetter constructs a valid HTTP client as HttpGetter.
type TemplateDownloader ¶
TemplateDownloader retrieves a template archive from an URL.
Click to show internal directories.
Click to hide internal directories.