status-go/signal/events_stats.go

12 lines
219 B
Go
Raw Permalink Normal View History

package signal
const (
// EventsStats is sent periodically with stats like upload/download rate
EventStats = "stats"
)
// SendStats sends stats signal.
func SendStats(stats interface{}) {
send(EventStats, stats)
}