MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / Config

Method Config

internal/xray/manager.go:147–151  ·  view source on GitHub ↗

Config 返回最近一次成功启动时使用的配置(JSON 字符串)。

()

Source from the content-addressed store, hash-verified

145
146// Config 返回最近一次成功启动时使用的配置(JSON 字符串)。
147func (m *Manager) Config() string {
148 m.mu.Lock()
149 defer m.mu.Unlock()
150 return m.lastConfig
151}
152
153// Start 以 in-process 方式启动 xray-core 实例。
154// config 为 xray JSON 配置字符串;in-process 不需要外部 gRPC 端口,api.listen 可忽略。

Callers 1

RunFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected