Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DisableFuncCtl ¶
type ExtensionCtl ¶
type PhpAppCtl ¶
type PhpAppCtl interface {
ServiceCtl() controllers.Controller // ServiceCtl returns the service controller
ExtensionCtl() ExtensionCtl // ExtensionCtl returns the extensive manager
DisableFuncCtl() DisableFuncCtl // DisableFuncCtl returns the disable function manager
FpmConfCtl() appctl.ConfCtl // FpmConfCtl returns the fpm configuration manager => www.conf
PhpConfCtl() appctl.ConfCtl // PhpConfCtl returns the php configuration manager => php.ini
LogCtl() appctl.LogCtl // LogCtl returns the logger manager
PhpInfoData() (data PhpInfoData) // PhpInfoData returns the php info like PhpInfoData struct
PhpInfoHtml() (html string) // PhpInfoHtml returns the php info echo html
PoolInfoData() (data PoolInfoData) // PoolInfoData returns the fpm pool info data like PoolInfoData struct
}
type PhpExtension ¶
func NewPhpExtension ¶
type PhpInfoData ¶
type PhpInfoData struct {
Info PhpInfoDataInfo
Modules []PhpInfoDataModule
}
type PhpInfoDataInfo ¶
type PhpInfoDataKV ¶
type PhpInfoDataModule ¶
type PhpInfoDataModule struct {
Name string
Modules []PhpInfoDataKV
}
type PoolInfoData ¶
type PoolInfoData struct {
Pool string `json:"pool"`
ProcessManager string `json:"process manager"`
StartTime int `json:"start time"`
StartSince int `json:"start since"`
AcceptedConn int `json:"accepted conn"`
ListenQueue int `json:"listen queue"`
MaxListenQueue int `json:"max listen queue"`
ListenQueueLen int `json:"listen queue len"`
IdleProcesses int `json:"idle processes"`
ActiveProcesses int `json:"active processes"`
TotalProcesses int `json:"total processes"`
MaxActiveProcesses int `json:"max active processes"`
MaxChildrenReached int `json:"max children reached"`
SlowRequests int `json:"slow requests"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.