Use SQLite instead of JSON storage

This commit is contained in:
2025-06-29 23:41:34 +08:00
parent 6f8775472d
commit 70d88dabba
25 changed files with 807 additions and 636 deletions

View File

@@ -185,8 +185,8 @@ func (kbs *KeyBindingService) GetAllKeyBindings() ([]models.KeyBinding, error) {
return config.KeyBindings, nil
}
// ServiceShutdown 关闭服务
func (kbs *KeyBindingService) ServiceShutdown() error {
// OnShutdown 关闭服务
func (kbs *KeyBindingService) OnShutdown() error {
kbs.cancel()
return nil
}