Skip to content

Commit

Permalink
Merge pull request #425 from byene0923/refactor/modify_comment
Browse files Browse the repository at this point in the history
refactor:remove outdated comments
  • Loading branch information
lesismal authored May 6, 2024
2 parents 9aa509c + 45a85f7 commit 7c001cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ type Config struct {
Name string

// Network is the listening protocol, used with Addrs together.
// tcp* supported only by now, there's no plan for other protocol such as udp,
// because it's too easy to write udp server/client.
Network string

// Addrs is the listening addr list for a nbio server.
Expand Down Expand Up @@ -102,7 +100,7 @@ type Config struct {
// AsyncReadInPoller represents how the reading events and reading are handled
// by epoll goroutine:
// true : epoll goroutine handles the reading events only, another goroutine
// pool will handles the reading.
// pool will handle the reading.
// false: epoll goroutine handles both the reading events and the reading.
AsyncReadInPoller bool
// IOExecute is used to handle the aysnc reading, users can customize it.
Expand Down

0 comments on commit 7c001cd

Please sign in to comment.