Documentation
¶
Index ¶
- Variables
- func CreateTemp(pattern string) *os.File
- func DownloadUrlFromRepos(route string, do func(repo RepoConfig, r io.Reader), repos ...RepoConfig) bool
- func MkdirTemp(pattern string) string
- func SetHttpDownloadClient(do func(c *http.Client))
- func SetHttpSaasClient(do func(c *http.Client))
- type RepoConfig
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CreateTemp ¶
func DownloadUrlFromRepos ¶
func DownloadUrlFromRepos(route string, do func(repo RepoConfig, r io.Reader), repos ...RepoConfig) bool
func SetHttpDownloadClient ¶ added in v3.0.4
func SetHttpSaasClient ¶ added in v3.0.5
Types ¶
type RepoConfig ¶
type RepoConfig struct { Url string `json:"url"` Username string `json:"username"` Password string `json:"password"` }
func TrimRepo ¶
func TrimRepo(repos ...RepoConfig) []RepoConfig
Click to show internal directories.
Click to hide internal directories.