This commit is contained in:
Admin Else
2026-08-02 20:21:15 +02:00
parent f579645b88
commit 3273244c42
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -346,6 +346,7 @@ func (c *Conn) Receive() (packet proto_base.EncodeDecodeAble, err error) {
} }
return return
} }
// NewConn creates a new Conn with default settings and a background context. // NewConn creates a new Conn with default settings and a background context.
func NewConn() (ret *Conn) { func NewConn() (ret *Conn) {
return NewConnCtx(context.Background()) return NewConnCtx(context.Background())