Documentation
¶
Index ¶
- type WgetExec
- func (instance *WgetExec) Download(sourceURL string, target string) (response string, err error)
- func (instance *WgetExec) DownloadBytes(sourceURL string) (response []byte, err error)
- func (instance *WgetExec) ExecuteCommand(arguments ...string) (out string, err error)
- func (instance *WgetExec) GetPath(path string) (response string)
- func (instance *WgetExec) Help() (response string, err error)
- func (instance *WgetExec) IsInstalled() bool
- func (instance *WgetExec) Root() string
- func (instance *WgetExec) SetRoot(dir string) *WgetExec
- func (instance *WgetExec) Version() (response string, err error)
- type WgetHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WgetExec ¶
type WgetExec struct {
// contains filtered or unexported fields
}
func (*WgetExec) DownloadBytes ¶ added in v0.3.16
func (*WgetExec) ExecuteCommand ¶
func (*WgetExec) IsInstalled ¶
type WgetHelper ¶
type WgetHelper struct { }
var (
Wget *WgetHelper
)
func (*WgetHelper) IsInstalled ¶
func (instance *WgetHelper) IsInstalled() bool
func (*WgetHelper) NewExec ¶
func (instance *WgetHelper) NewExec() *WgetExec
NewExec Creates new Git command
func (*WgetHelper) Version ¶
func (instance *WgetHelper) Version() (version string, err error)
Click to show internal directories.
Click to hide internal directories.