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

Method UpdateUserInboundsNode

internal/users/store.go:126–126  ·  view source on GitHub ↗

UpdateUserInboundsNode 将指定 inbound 的所有 user_inbounds.node_id 更新为新节点。

(inboundID, newNodeID string)

Source from the content-addressed store, hash-verified

124 DeleteUserInboundsByUser(userID string) error
125 // UpdateUserInboundsNode 将指定 inbound 的所有 user_inbounds.node_id 更新为新节点。
126 UpdateUserInboundsNode(inboundID, newNodeID string) error
127
128 // GetUsersByIDs 批量获取 User,返回 map[userID]User。
129 GetUsersByIDs(ids []string) (map[string]User, error)

Callers 1

handleInboundRoutesMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected