MCPcopy Create free account
hub / github.com/53AI/53AIHub / Close

Method Close

api/service/manager.go:514–522  ·  view source on GitHub ↗

Close 关闭服务管理器(清理资源)

()

Source from the content-addressed store, hash-verified

512
513// Close 关闭服务管理器(清理资源)
514func (sm *ServiceManager) Close() error {
515 sm.mu.Lock()
516 defer sm.mu.Unlock()
517
518 // 这里可以添加资源清理逻辑
519 // 比如关闭连接池、清理缓存等
520
521 return nil
522}
523
524// HealthCheck 健康检查
525func (sm *ServiceManager) HealthCheck() map[string]interface{} {

Callers 15

commonAPICallFunction · 0.45
appendToBufferMethod · 0.45
appendToAssemblyMethod · 0.45
SearchMethod · 0.45
writeSegmentsToFileFunction · 0.45
MergeChunksMethod · 0.45
hashFileFunction · 0.45
inspectSkillArchiveFunction · 0.45

Calls 1

UnlockMethod · 0.65

Tested by

no test coverage detected