Files
go-honeybee/responderpool/pool.go
T
2026-04-20 08:45:04 -04:00

26 lines
432 B
Go

package responderpool
import (
"time"
)
type PoolEventKind string
const (
EventPeerDisconnected PoolEventKind = "disconnected"
EventPeerDropped PoolEventKind = "dropped"
EventPeerInactive PoolEventKind = "inactive"
EventPeerEvicted PoolEventKind = "evicted"
)
type PoolEvent struct {
ID string
Kind PoolEventKind
}
type InboxMessage struct {
ID string
Data []byte
ReceivedAt time.Time
}