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.21.6" NginxDownloadURLPrefix = "https://nginx.org/download" )
nginx
View Source
const ( PcreVersion = "10.40" PcreDownloadURLPrefix = "https://github.com/PhilipHazel/pcre2/releases/download" )
pcre
View Source
const ( OpenSSLVersion = "1.1.1n" OpenSSLDownloadURLPrefix = "https://www.openssl.org/source" )
openssl
View Source
const ( LibreSSLVersion = "3.4.3" LibreSSLDownloadURLPrefix = "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL" )
libressl
View Source
const ( ZlibVersion = "1.2.12" ZlibDownloadURLPrefix = "https://zlib.net" )
zlib
View Source
const ( OpenRestyVersion = "1.19.9.1" OpenRestyDownloadURLPrefix = "https://openresty.org/download" )
openResty
View Source
const ( TengineVersion = "2.3.3" TengineDownloadURLPrefix = "https://tengine.taobao.org/download" )
tengine
View Source
const ( ComponentNginx = iota ComponentOpenResty ComponentTengine 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.