mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
13 lines
305 B
Go
13 lines
305 B
Go
|
package signal
|
||
|
|
||
|
const (
|
||
|
// EventPeerStats is sent when peer is added or removed.
|
||
|
// it will be a map with capability=peer count k/v's.
|
||
|
EventPeerStats = "wakuv2.peerstats"
|
||
|
)
|
||
|
|
||
|
// SendPeerStats sends discovery.summary signal.
|
||
|
func SendPeerStats(peerStats interface{}) {
|
||
|
send(EventPeerStats, peerStats)
|
||
|
}
|