started responder pool

This commit is contained in:
Jay
2026-04-20 06:57:48 -04:00
parent 3066802f62
commit 9859796338
9 changed files with 585 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package responderpool
import (
"time"
)
type PoolEventKind string
const (
EventPeerDisconnected PoolEventKind = "disconnected"
EventPeerDropped PoolEventKind = "dropped"
EventPeerEvicted PoolEventKind = "evicted"
)
type PoolEvent struct {
ID string
Kind PoolEventKind
}
type InboxMessage struct {
ID string
Data []byte
ReceivedAt time.Time
}