MCPcopy
hub / github.com/lonng/nano / LocalService

Method LocalService

cluster/handler.go:181–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179}
180
181func (h *LocalHandler) LocalService() []string {
182 var result []string
183 for service := range h.localServices {
184 result = append(result, service)
185 }
186 sort.Strings(result)
187 return result
188}
189
190func (h *LocalHandler) RemoteService() []string {
191 h.mu.RLock()

Callers 3

initNodeMethod · 0.80
keepaliveMethod · 0.80
TestNodeStartupMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestNodeStartupMethod · 0.64