MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / AddSignServer

Method AddSignServer

client/sign/sign.go:67–73  ·  view source on GitHub ↗
(signServers ...string)

Source from the content-addressed store, hash-verified

65}
66
67func (c *Client) AddSignServer(signServers ...string) {
68 c.lock.Lock()
69 defer c.lock.Unlock()
70 c.instances = append(c.instances, utils.Map[string, *remote](signServers, func(s string) *remote {
71 return &remote{server: s}
72 })...)
73}
74
75func (c *Client) GetSignServer() []string {
76 c.lock.RLock()

Callers 1

mainFunction · 0.95

Calls 1

MapFunction · 0.92

Tested by

no test coverage detected