mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
18 lines
394 B
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()
|
|
}
|