format
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user