mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
KCP: style
This commit is contained in:
parent
14623e6fa4
commit
bcf87d1592
@ -66,9 +66,11 @@ func (kvl *KCPVlistener) Accept() (net.Conn, error) {
|
|||||||
}
|
}
|
||||||
return kcv, nil
|
return kcv, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (kvl *KCPVlistener) Close() error {
|
func (kvl *KCPVlistener) Close() error {
|
||||||
return kvl.lst.Close()
|
return kvl.lst.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (kvl *KCPVlistener) Addr() net.Addr {
|
func (kvl *KCPVlistener) Addr() net.Addr {
|
||||||
return kvl.lst.Addr()
|
return kvl.lst.Addr()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user