ServerSentEventsServer/modules/structs/sseclient.go

13 lines
190 B
Go

package structs
import "github.com/google/uuid"
type SSEClient struct {
MessageChan chan SSEClientChanMessage
}
type SSEClientChanMessage struct {
ClientId uuid.UUID
Message string
}