robot-control-manager/modules/structs/sseclient.go

18 lines
247 B
Go

package structs
import "github.com/google/uuid"
type SSEClient struct {
MessageChannel chan SSEClientChannelMessage
}
type SSEClientChannelMessage struct {
ClientId uuid.UUID
Message []byte
}
type SSEMessage struct {
Cmd int
Body any
}