format
This commit is contained in:
@@ -346,6 +346,7 @@ func (c *Conn) Receive() (packet proto_base.EncodeDecodeAble, err error) {
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// NewConn creates a new Conn with default settings and a background context.
|
||||
func NewConn() (ret *Conn) {
|
||||
return NewConnCtx(context.Background())
|
||||
|
||||
@@ -113,7 +113,7 @@ func (a Actor) ReceiveDirection() Direction {
|
||||
|
||||
type (
|
||||
// ToDo is a placeholder type for unimplemented packet fields.
|
||||
ToDo struct{}
|
||||
ToDo struct{}
|
||||
// RestBuffer represents the remaining unread bytes in a packet buffer.
|
||||
RestBuffer []byte
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user