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

Method AddUser

internal/coremanager/manager.go:92–92  ·  view source on GitHub ↗

AddUser 向运行中的 inbound 热增用户,不重启核心、不断现有连接。

(ctx context.Context, cfg UserConfig)

Source from the content-addressed store, hash-verified

90
91 // AddUser 向运行中的 inbound 热增用户,不重启核心、不断现有连接。
92 AddUser(ctx context.Context, cfg UserConfig) error
93 // RemoveUser 从运行中的 inbound 热删用户。已有连接自然结束,新连接立即拒绝。
94 RemoveUser(ctx context.Context, inboundTag, email string) error
95}

Callers 4

tryDeltaUsersFunction · 0.65
DoAddUserMethod · 0.65
xrayAddUserFunction · 0.65

Implementers 2

stubManagerinternal/nodeagent/dispatch_test.go
Managerinternal/xray/manager.go

Calls

no outgoing calls

Tested by 1