Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't integrate Netpoll #567

Closed
iamwxq opened this issue Jan 30, 2023 · 2 comments
Closed

Can't integrate Netpoll #567

iamwxq opened this issue Jan 30, 2023 · 2 comments

Comments

@iamwxq
Copy link

iamwxq commented Jan 30, 2023

Describe the bug

when I try to config server.New(server.WithTransport(netpoll.NewTransporter)), there is no method called NewTransporter in Netpoll, also my Hertz application does not use netpoll as default, instead of standard.

To Reproduce

Steps to reproduce the behavior:

  1. Create a Hertz application.
  2. Config it's transporter with netpoll
  3. Build failed

Expected behavior

Using netpoll as my transporter

Screenshots

There is no 'NewTransporter'

微信截图_20230130165127

Using 'standard' as default
微信截图_20230130165431

Build failed
微信截图_20230130170038

Hertz version:

hz version v0.5.1

Environment:

微信截图_20230130171013

Additional context

None

@justlorain
Copy link
Member

Netpoll does not support windows.

@iamwxq
Copy link
Author

iamwxq commented Jan 30, 2023

Netpoll does not support windows.

Ok, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants