simple server relay with clients

This commit is contained in:
juancwu 2025-12-07 18:10:26 -05:00
commit 9984583dd2
6 changed files with 358 additions and 7 deletions

8
pkg/protocol/types.go Normal file
View file

@ -0,0 +1,8 @@
package protocol
type Message struct {
Type string `json:"type"`
Sender string `json:"sender"`
Target string `json:"target"`
Content string `json:"content"`
}