Skip to content

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

Description

@wencan

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

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

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions