Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ Close
Method
Close
pkg/security/audit.go:879–883 ·
view source on GitHub ↗
Close 关闭审计日志
()
Source
from the content-addressed store, hash-verified
877
878
// Close 关闭审计日志
879
func
(al *InMemoryAuditLog) Close() error {
880
close(al.done)
881
close(al.eventChan)
882
return
nil
883
}
884
885
// 辅助函数
886
func
generateEventID() string {
Callers
13
TestNewInMemoryAuditLog
Function · 0.95
TestInMemoryAuditLog_LogEvent
Function · 0.95
TestInMemoryAuditLog_LogEventAsync
Function · 0.95
TestInMemoryAuditLog_LogEvents
Function · 0.95
TestInMemoryAuditLog_GetEvent
Function · 0.95
TestInMemoryAuditLog_GetEvent_NotFound
Function · 0.95
TestInMemoryAuditLog_GetEventsByUser
Function · 0.95
TestInMemoryAuditLog_GetEventsByType
Function · 0.95
TestInMemoryAuditLog_GetEventsByTimeRange
Function · 0.95
TestInMemoryAuditLog_PurgeEvents
Function · 0.95
TestInMemoryAuditLog_GetStatus
Function · 0.95
TestInMemoryAuditLog_Close
Function · 0.95
Calls
no outgoing calls
Tested by
13
TestNewInMemoryAuditLog
Function · 0.76
TestInMemoryAuditLog_LogEvent
Function · 0.76
TestInMemoryAuditLog_LogEventAsync
Function · 0.76
TestInMemoryAuditLog_LogEvents
Function · 0.76
TestInMemoryAuditLog_GetEvent
Function · 0.76
TestInMemoryAuditLog_GetEvent_NotFound
Function · 0.76
TestInMemoryAuditLog_GetEventsByUser
Function · 0.76
TestInMemoryAuditLog_GetEventsByType
Function · 0.76
TestInMemoryAuditLog_GetEventsByTimeRange
Function · 0.76
TestInMemoryAuditLog_PurgeEvents
Function · 0.76
TestInMemoryAuditLog_GetStatus
Function · 0.76
TestInMemoryAuditLog_Close
Function · 0.76