=sse event
This commit is contained in:
parent
c05c44a13e
commit
3b6df8946c
13 changed files with 176 additions and 102 deletions
|
@ -95,7 +95,7 @@ func (e *Event) Stream(c *gin.Context) {
|
|||
client := &Client{
|
||||
Ip: c.Request.RemoteAddr,
|
||||
Chan: make(ClientChan),
|
||||
Events: c.QueryArray("events"),
|
||||
Events: c.QueryArray("event"),
|
||||
}
|
||||
|
||||
client.Id = Id(client.Ip, client.Events, 8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue