Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monibuca/engine
/ CreateEvent
Function
CreateEvent
events.go:15–19 ·
view source on GitHub ↗
(target T)
Source
from the content-addressed store, hash-verified
13
}
14
15
func
CreateEvent[T any](target T) (event Event[T]) {
16
event.Time = time.Now()
17
event.Target = target
18
return
19
}
20
21
// PulseEvent 心跳事件
22
type
PulseEvent
struct
{
Callers
5
receive
Method · 0.85
run
Method · 0.85
Delete
Method · 0.85
TryInvitePublish
Function · 0.85
InviteTrack
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected