2
0
mirror of https://github.com/status-im/status-go.git synced 2025-01-11 23:25:29 +00:00
RichΛrd 0babdad17b
chore: upgrade go-waku to v0.5 ()
* chore: upgrade go-waku to v0.5
* chore: add println and logs to check what's being stored in the enr, and preemptively delete the multiaddr field ()
* feat: add wakuv2 test ()
2023-02-22 17:58:17 -04:00

15 lines
264 B
Go

package metricshelper
import "github.com/libp2p/go-libp2p/core/network"
func GetDirection(dir network.Direction) string {
switch dir {
case network.DirOutbound:
return "outbound"
case network.DirInbound:
return "inbound"
default:
return "unknown"
}
}