Documentation ¶
Index ¶
- Constants
- func BuildNginx(jobs int) error
- func IsSameVersion(builders []Builder) (bool, error)
- type Builder
- func (builder *Builder) ArchivePath() string
- func (builder *Builder) DownloadURL() string
- func (builder *Builder) InstalledVersion() (string, error)
- func (builder *Builder) IsIncludeWithOption(nginxConfigure string) bool
- func (builder *Builder) LogPath() string
- func (builder *Builder) SourcePath() string
- func (builder *Builder) WarnMsgWithLibrary() string
- type StaticLibrary
Constants ¶
View Source
const ( NginxVersion = "1.26.0" NginxDownloadURLPrefix = "https://nginx.org/download" )
nginx
View Source
const ( PcreVersion = "10.43" PcreDownloadURLPrefix = "https://github.com/PCRE2Project/pcre2/releases/download" )
pcre
View Source
const ( OpenSSLVersion = "3.3.0" OpenSSLDownloadURLPrefix = "https://www.openssl.org/source" )
openssl
View Source
const ( LibreSSLVersion = "3.9.1" LibreSSLDownloadURLPrefix = "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL" )
libressl
View Source
const ( ZlibVersion = "1.3.1" ZlibDownloadURLPrefix = "https://zlib.net" )
zlib
View Source
const ( OpenRestyVersion = "1.25.3.1" OpenRestyDownloadURLPrefix = "https://openresty.org/download" )
openResty
View Source
const ( FreenginxVersion = "1.26.0" FreenginxDownloadURLPrefix = "https://freenginx.org/download" )
freenginx
View Source
const ( ComponentNginx = iota ComponentOpenResty ComponentFreenginx ComponentPcre ComponentOpenSSL ComponentLibreSSL ComponentZlib ComponentMax )
component enumerations
Variables ¶
This section is empty.
Functions ¶
func BuildNginx ¶
func IsSameVersion ¶ added in v0.9.11
Types ¶
type Builder ¶
type Builder struct { Version string DownloadURLPrefix string Component int // for dependencies such as pcre and zlib and openssl Static bool }
func MakeBuilder ¶
func MakeLibraryBuilder ¶ added in v0.9.11
func (*Builder) ArchivePath ¶
func (*Builder) DownloadURL ¶
func (*Builder) InstalledVersion ¶ added in v0.9.11
func (*Builder) IsIncludeWithOption ¶
func (*Builder) SourcePath ¶
func (*Builder) WarnMsgWithLibrary ¶
type StaticLibrary ¶
func MakeStaticLibrary ¶
func MakeStaticLibrary(builder *Builder) StaticLibrary
Click to show internal directories.
Click to hide internal directories.