Compare commits

..

No commits in common. "0c9b20d47fd310a827f66c287443e2b6510e07ed" and "0c6e90e64485c7c02ec6c75de4c7511179bf8ef7" have entirely different histories.

View File

@ -17,7 +17,6 @@ type Server interface {
GinHandlerFunc(auth func(c *gin.Context) (string, error)) gin.HandlerFunc
Push(user any, name, msg string) bool
Broadcast(name, msg string)
ClientCount() int32
}
type clientChan struct {
@ -158,7 +157,3 @@ func (stream *event) Broadcast(name, msg string) {
return true
})
}
func (stream *event) ClientCount() int32 {
return stream.Count.Load()
}