Basic Feature

Basic feature of Hertz.

Engine

Route

The routing function provided by Hertz.

Client

Hertz client related functions.

Network Lib

Hertz integrated Netpoll and Golang network lib by default. Users can choose the appropriate one according to the actual scenarios to meet the best performance.

RequestContext

Functions related to the request context.

Middleware Overview

Middleware Overview.

Protocol

Hertz supported protocols.

Binding and validate

The parameter binding and validation related functions and usage supported by Hertz.

Error Handle

The error handling function provided by Hertz.

Graceful Shutdown

The graceful shutdown function provided by Hertz when stopping service.

Forward Proxy and Reverse Proxy

Hertz provides forward and reverse proxy capabilities.

Retry

Hertz provides custom retry logic for users.

Hooks

The hooks function provided by Hertz.

Unit Test

Hertz provides unit testing capabilities for users.

Adaptor

Hertz provides access and related methods to Go standard library http.Request and http.ResponseWriter.

Constants

Constants defined in Hertz for user use.

Render

The rendering capabilities provided by Hertz.

JSON Marshal Library

The JSON Marshal library and customization capabilities used by Hertz.