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

Method addr

internal/home/client.go:144–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142}
143
144func (c *Client) addr() (string, bool) {
145 if c == nil {
146 return "", false
147 }
148 c.mu.Lock()
149 defer c.mu.Unlock()
150 return c.addrLocked()
151}
152
153func (c *Client) addrLocked() (string, bool) {
154 host := strings.TrimSpace(c.homeCfg.Host)

Calls 1

addrLockedMethod · 0.95