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

Struct Client

internal/home/client.go:81–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81type Client struct {
82 mu sync.Mutex
83
84 homeCfg config.HomeConfig
85 seedHost string
86 seedPort int
87
88 cmd *redis.Client
89 sub *redis.Client
90
91 heartbeatOK atomic.Bool
92 clusterNodes []clusterNode
93 reconnectFailures int
94}
95
96func New(homeCfg config.HomeConfig) *Client {
97 return &Client{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected