Documentation ¶
Index ¶
- func DownloadPhp(link data.VersionLink, filename string) (string, error)
- func ExtractDownloadedBinary(path string) error
- func ExtractMajorPhpVersion(version string) string
- func GetDownloadLink(version string) (data.VersionLink, error)
- func InstallPhp(version string) (string, error)
- func InstallPhpBinary(version string)
- func IsValidPhpVersion(input string) bool
- func RemoveWhitespace(inputString string) string
- func VerifySignature(link data.VersionLink, filepath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadPhp ¶
func DownloadPhp(link data.VersionLink, filename string) (string, error)
func ExtractDownloadedBinary ¶
ExtractDownloadedBinary path is relative to the main.go location
func ExtractMajorPhpVersion ¶
func GetDownloadLink ¶
func GetDownloadLink(version string) (data.VersionLink, error)
func InstallPhp ¶
func InstallPhpBinary ¶
func InstallPhpBinary(version string)
func IsValidPhpVersion ¶
func RemoveWhitespace ¶
func VerifySignature ¶
func VerifySignature(link data.VersionLink, filepath string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.