Rename pushConns to requestConns, move into Client interface.

Also allow selecting just a single connection.
This commit is contained in:
Juliusz Chroboczek committed 2021-05-14 23:21:14 +02:00
1 parent 435f46c520
commit 515c4a5cd0
3 files changed
+23 -13

No files matched your search

+4
View File
@@ -79,6 +79,10 @@ func (client *Client) PushClient(id, username string, permissions *group.ClientP
return nil
}
func (client *Client) RequestConns(target group.Client, g *group.Group, id string) error {
return nil
}
func (client *Client) Close() error {
client.mu.Lock()
defer client.mu.Unlock()