status-go/protocol/messenger_peers.go

18 lines
394 B
Go

package protocol
func (m *Messenger) AddStorePeer(address string) error {
return m.transport.AddStorePeer(address)
}
func (m *Messenger) AddRelayPeer(address string) error {
return m.transport.AddStorePeer(address)
}
func (m *Messenger) DropPeer(peerID string) error {
return m.transport.DropPeer(peerID)
}
func (m *Messenger) Peers() map[string][]string {
return m.transport.Peers()
}