Rename pushConns to requestConns, move into Client interface.
Also allow selecting just a single connection.
This commit is contained in:
1 parent
435f46c520
commit
515c4a5cd0
3 files changed
+23
-13
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user