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())
+1 -1
View File
@@ -113,7 +113,7 @@ func (a Actor) ReceiveDirection() Direction {
type ( type (
// ToDo is a placeholder type for unimplemented packet fields. // ToDo is a placeholder type for unimplemented packet fields.
ToDo struct{} ToDo struct{}
// RestBuffer represents the remaining unread bytes in a packet buffer. // RestBuffer represents the remaining unread bytes in a packet buffer.
RestBuffer []byte RestBuffer []byte
) )