Add method Addr to client.
This commit is contained in:
1 parent
b7f9ef00b6
commit
e7e8a9b555
4 files changed
+23
-3
No files matched your search
@@ -6,6 +6,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"log"
|
||||
"net"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
@@ -107,6 +108,10 @@ func (client *Client) Kick(id string, user *string, message string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func (client *Client) Addr() net.Addr {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (client *Client) Joined(group, kind string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user