s icon indicating copy to clipboard operation
s copied to clipboard

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

Open wencan opened this issue 7 years ago • 0 comments

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

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

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

wencan avatar Nov 20 '18 07:11 wencan