2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

feat: 优化网站启停

This commit is contained in:
2025-12-03 21:37:13 +08:00
parent 9bd08fcb37
commit e1f0a7d04f
7 changed files with 86 additions and 100 deletions

View File

@@ -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