MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / SetCurrent

Function SetCurrent

internal/home/global.go:8–10  ·  view source on GitHub ↗

*Client SetCurrent sets the active home client used by runtime integrations.

(client *Client)

Source from the content-addressed store, hash-verified

6
7// SetCurrent sets the active home client used by runtime integrations.
8func SetCurrent(client *Client) {
9 currentClient.Store(client)
10}
11
12// Current returns the active home client instance, if any.
13func Current() *Client {

Calls

no outgoing calls