Skip to content

Commit

Permalink
chore: update a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Nov 27, 2021
1 parent fa054af commit 072ff35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ type (
PreWrite(c Conn)

// AfterWrite fires right after a packet is written to the peer socket, this event function is usually where
// you put the []byte's back to your memory pool.
// you put the []byte returned from React() back to your memory pool.
AfterWrite(c Conn, b []byte)

// React fires when a connection sends the server data.
Expand Down

0 comments on commit 072ff35

Please sign in to comment.