master
go 9 lines 215 Bytes
Raw
1 package config
2
3 import "github.com/libp2p/go-libp2p/core/peer"
4
5 // Peering configures the peering service.
6 type Peering struct {
7 // Peers lists the nodes to attempt to stay connected with.
8 Peers []peer.AddrInfo
9 }