KCP: style

pull/170/head
Shelikhoo 2016-06-13 16:34:35 +08:00
parent 14623e6fa4
commit bcf87d1592
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21
1 changed files with 2 additions and 0 deletions

View File

@ -66,9 +66,11 @@ func (kvl *KCPVlistener) Accept() (net.Conn, error) {
}
return kcv, nil
}
func (kvl *KCPVlistener) Close() error {
return kvl.lst.Close()
}
func (kvl *KCPVlistener) Addr() net.Addr {
return kvl.lst.Addr()
}