Hertz Release v0.1.0

Feature

  • [#31] feat: close connection after responding to the short-connection request.
  • [#44] feat: add the VisitAllCustomHeader method.
  • [#59] feat: support windows.
  • [#70] feat: add code generator hz.
  • [#64] feat: add adaptor for Hertz Request & Response to net/http Request & ResponseWriter.
  • [#45] feat: add ctx.Body().

Optimize

  • [#57] optimize: use http.TimeFormat as layout for http date, which can avoid more copying.
  • [#58] optimize: add remote address to the error log when server processes the error.
  • [#41] optimize: use CtxErrorf instead of ‘Errorf’ when server panic.

Refactor

  • [#37] refactor: unify the entry of setting request options to prevent options uninitialized from causing panic.
  • [#52] refactor: omit redundant nil check around loop.
  • [#33] refactor: simplify code in AddMissingPort.
  • [#27] refactor: use errors.NewPublic rather than fmt.Errorf.
  • [#34] refactor: remove fshandler and related tests.

Style

  • [#29] style(*): fix typos.

Docs

  • [#60] docs: add icon in README.md and README_cn.md.
  • [#54] docs: Update README.md.