refactor: modularize connection handling and streamline event loop structure

This commit is contained in:
adman
2026-01-05 12:40:43 +01:00
parent 83a3b0f886
commit 253a7020f9
11 changed files with 176 additions and 200 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ func (p *ProxyClient) OnDefault(event event.Unhandled) (err error) {
return
}
func (p *ProxyClient) OnCycle(_ event.OnLoopCycle) (err error) {
func (p *ProxyClient) OnCycle(_ event.Tick) (err error) {
return
}
@@ -61,7 +61,7 @@ func (p *Proxy) OnDefault(event event.Unhandled) (err error) {
return
}
func (p *Proxy) OnCycle(_ event.OnLoopCycle) (err error) {
func (p *Proxy) OnCycle(_ event.Tick) (err error) {
return
}