feat 模块增加after start

This commit is contained in:
2026-01-20 12:11:26 +08:00
parent 5aeff7c786
commit c0f6cd90c6
11 changed files with 43 additions and 38 deletions

View File

@@ -1,5 +1,17 @@
package global
var ServiceStatus = ServiceStatusStarting
type ServiceStatusCode int32
const (
ServiceStatusStarting ServiceStatusCode = iota // 启动中
ServiceStatusReady // 就绪
ServiceStatusStopping // 停止中
)
var GatewaySID string
const (
KeyGatewayAccessToken = "gateway:token:access:%v"
KeyGatewayRefreshToken = "gateway:token:refresh:%v"