move parser interface into engine.go

add snapshot field to Client
This commit is contained in:
2026-02-06 00:40:42 +00:00
parent fa704832d5
commit 5933b25114
2 changed files with 6 additions and 5 deletions

View File

@@ -9,6 +9,10 @@ import (
"github.com/hypebeast/go-osc/osc"
)
type parser interface {
Parse(data []byte) (*osc.Message, error)
}
type engine struct {
Kind MixerKind
conn *net.UDPConn