[protocol] WSTS protokolünü Go'da yeniden uygula (I/O sözleşmesi sabit) #23

Closed
opened 2026-06-16 23:54:03 +03:00 by saqut · 2 comments
Owner

Paket kimliklendirme + request/response/stream. Frontend SDK ile bire bir uyumlu kalmalı — giriş/çıkış formatı değişmez, sadece sunucu içi yapı değişir.

Paket kimliklendirme + request/response/stream. Frontend SDK ile **bire bir uyumlu** kalmalı — giriş/çıkış formatı değişmez, sadece sunucu içi yapı değişir.
saqut added this to the 0.1.0 milestone 2026-06-16 23:54:03 +03:00
saqut added the
engine
go
protocol
labels 2026-06-16 23:54:03 +03:00
Author
Owner

Uygulandı (branch: go-rewrite): internal/protocol — WSTS tel formatı bire bir. [message,id,action] giriş; [payload,id,'E'|'C'] yanıt; [payload,signalName] sunucu sinyali; SendOnly ('R' string-id) fire-and-forget; numeric id integer olarak round-trip (SDK EventPool ile uyumlu). Round-trip testleri yeşil; SDK I/O sözleşmesi değişmedi. (Açık bırakıldı — 0.1.0 #22 onayına bağlı.)

**Uygulandı** (branch: `go-rewrite`): `internal/protocol` — WSTS tel formatı bire bir. `[message,id,action]` giriş; `[payload,id,'E'|'C']` yanıt; `[payload,signalName]` sunucu sinyali; SendOnly (`'R'` string-id) fire-and-forget; numeric id **integer** olarak round-trip (SDK EventPool ile uyumlu). Round-trip testleri yeşil; SDK I/O sözleşmesi değişmedi. (Açık bırakıldı — 0.1.0 #22 onayına bağlı.)
Author
Owner

Tamamlandı (go-rewrite). internal/protocol (protocol.go + protocol_test.go): WSTS tel formatı birebir — [message,id,action] decode; [payload,id,'E'|'C'] reply; [payload,signalName] signal; numeric vs string id ayrımı; Message erişimcileri (Str/Int/Truthy/...). I/O sözleşmesi DONDURULDU; contract_test.go gerçek SDK frame'leriyle doğruluyor. go test -race yeşil.

Tamamlandı (go-rewrite). `internal/protocol` (protocol.go + protocol_test.go): WSTS tel formatı birebir — `[message,id,action]` decode; `[payload,id,'E'|'C']` reply; `[payload,signalName]` signal; numeric vs string id ayrımı; Message erişimcileri (Str/Int/Truthy/...). I/O sözleşmesi DONDURULDU; contract_test.go gerçek SDK frame'leriyle doğruluyor. `go test -race` yeşil.
saqut closed this issue 2026-06-17 08:17:23 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: saqut/MWSE#23
No description provided.