Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ OnClose
Function
OnClose
internal/events/utils.go:33–36 ·
view source on GitHub ↗
(callback func())
Source
from the content-addressed store, hash-verified
31
}
32
33
func
OnClose(callback
func
()) {
34
On(EventQuit, callback)
35
On(EventTerminated, callback)
36
}
37
38
// OnKey 使用Key增加事件回调
39
func
OnKey(event Event, key
interface
{}, callback
func
()) {
Callers
12
Open
Method · 0.92
NewSQLiteDB
Function · 0.92
NewKVDB
Function · 0.92
init
Function · 0.92
init
Method · 0.92
init
Function · 0.92
init
Method · 0.92
init
Function · 0.92
init
Function · 0.92
init
Function · 0.92
init
Function · 0.92
Init
Method · 0.92
Calls
1
On
Function · 0.85
Tested by
no test coverage detected