From bcf87d159247c242eddf185ee1ca8ce7b0ec2c7a Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Mon, 13 Jun 2016 16:34:35 +0800 Subject: [PATCH] KCP: style --- transport/hub/kcp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transport/hub/kcp.go b/transport/hub/kcp.go index d50c00c4..818dc742 100644 --- a/transport/hub/kcp.go +++ b/transport/hub/kcp.go @@ -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() }