Skip to content

Commit

Permalink
add Deprecated comment for HttpModule
Browse files Browse the repository at this point in the history
  • Loading branch information
devfeel committed Jun 12, 2017
1 parent dc136d8 commit b24c6cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const (
)

type (
//HttpModule定义
// Deprecated: Use the Middleware instead
// HttpModule struct
HttpModule struct {
//响应请求时作为 HTTP 执行管线链中的第一个事件发生
OnBeginRequest func(Context)
Expand Down

0 comments on commit b24c6cd

Please sign in to comment.