"feat(socket): 添加跨域请求处理并集成enum依赖,优化TCP连接数据注入"

This commit is contained in:
1
2025-06-22 00:50:40 +00:00
parent ef3ce43a14
commit 8c9fbbb3a8
38 changed files with 728 additions and 409 deletions

8
common/cool/config.go Normal file
View File

@@ -0,0 +1,8 @@
package cool
import "blazing/cool/coolconfig"
var (
Config = coolconfig.Config // 配置中的cool节相关配置
GetCfgWithDefault = coolconfig.GetCfgWithDefault // GetCfgWithDefault 获取配置,如果配置不存在,则使用默认值
)