helper

package
v0.0.0-...-c7d956c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadPhp

func DownloadPhp(link data.VersionLink, filename string) (string, error)

func ExtractDownloadedBinary

func ExtractDownloadedBinary(path string) error

ExtractDownloadedBinary path is relative to the main.go location

func ExtractMajorPhpVersion

func ExtractMajorPhpVersion(version string) string
func GetDownloadLink(version string) (data.VersionLink, error)

func InstallPhp

func InstallPhp(version string) (string, error)

func InstallPhpBinary

func InstallPhpBinary(version string)

func IsValidPhpVersion

func IsValidPhpVersion(input string) bool

func RemoveWhitespace

func RemoveWhitespace(inputString string) string

func VerifySignature

func VerifySignature(link data.VersionLink, filepath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL