Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileWriter ¶
func FileWriter(file string) (io.WriteCloser, error)
func New ¶
New 以服务的方式启动nging 服务支持的操作有: nging service install -- 安装服务 nging service uninstall -- 卸载服务 nging service start -- 启动服务 nging service stop -- 停止服务 nging service restart -- 重启服务
func NewProgram ¶
func NewProgram(cfg *Config) *program
func ValidServiceAction ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.