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

http处理函数签名应该保持一致,应支持将in struct附加在request上下文 #6

Open
wencan opened this issue Nov 20, 2018 · 0 comments

Comments

@wencan
Copy link

wencan commented Nov 20, 2018

http处理函数签名应该保持一致,方便封装处理

建议采用net/http的ServeHTTP的签名

为此,应该支持将in struct结构体附加在request上下文,并提供方法从request获取in struct——的指针

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

No branches or pull requests

1 participant