[management] ephemeral peers track on login (#5165)

This commit is contained in:
Vlad
2026-01-23 18:05:22 +01:00
committed by GitHub
parent ee3a67d2d8
commit 737d6061bf
4 changed files with 25 additions and 2 deletions

View File

@@ -36,4 +36,6 @@ type Controller interface {
DisconnectPeers(ctx context.Context, accountId string, peerIDs []string)
OnPeerConnected(ctx context.Context, accountID string, peerID string) (chan *UpdateMessage, error)
OnPeerDisconnected(ctx context.Context, accountID string, peerID string)
TrackEphemeralPeer(ctx context.Context, peer *nbpeer.Peer)
}