Rename pushConns to requestConns, move into Client interface.

Also allow selecting just a single connection.
This commit is contained in:
Juliusz Chroboczek
2021-05-14 19:20:56 +02:00
parent 435f46c520
commit 515c4a5cd0
3 changed files with 23 additions and 13 deletions
+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()