gui refactor

This commit is contained in:
aynakeya
2025-10-06 23:52:10 +08:00
parent 7c3f8587f6
commit 5c508b9664
61 changed files with 1448 additions and 618 deletions

25
core/events/events.go Normal file
View File

@@ -0,0 +1,25 @@
package events
/*
# events package
events package contains all events used in application.
in theory. all interaction should use events package.
the events are dispatched using eventbus package.
Here are some major events
- cmd: call cmd
- reply: call reply
- update: information updating event. usually issued by internal controller and broadcast to all channel
naming convention
- cmd: 'cmd.event.id.'
- reply: 'reply.same.same.cmd.id'
- update: 'update.event.id'
*/