mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
feat: 优化网站启停
This commit is contained in:
@@ -6,8 +6,8 @@ type Vhost interface {
|
||||
|
||||
// Enable 取启用状态
|
||||
Enable() bool
|
||||
// SetEnable 设置启用状态及停止页路径
|
||||
SetEnable(enable bool, stopPage ...string) error
|
||||
// SetEnable 设置启用状态及网站名称和根目录
|
||||
SetEnable(enable bool, siteConfig ...string) error
|
||||
|
||||
// Listen 取监听配置
|
||||
Listen() []Listen
|
||||
|
||||
Reference in New Issue
Block a user