1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-06 08:59:21 +02:00

Fixed broken links in website

Signed-off-by: Vishal Rana <vr@labstack.com>

Fixed broken links in website

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2015-10-02 19:48:47 -07:00
parent db77a731be
commit 1f7e699120
9 changed files with 15 additions and 13 deletions

View File

@@ -12,7 +12,7 @@ menu:
Registers a custom `Echo.HTTPErrorHandler`.
Default handler rules
Default handler rules:
- If error is of type `Echo.HTTPError` it sends HTTP response with status code `HTTPError.Code`
and message `HTTPError.Message`.

View File

@@ -9,7 +9,7 @@ menu:
Echo advocates centralized HTTP error handling by returning `error` from middleware
and handlers.
It allows you to
It allows you to:
- Debug by writing stack trace to the HTTP response.
- Customize HTTP responses.
@@ -45,4 +45,4 @@ func welcome(c *echo.Context) error {
}
```
See how [HTTPErrorHandler](#customization) handles it.
See how [HTTPErrorHandler](/guide/customization#http-error-handler) handles it.

View File

@@ -54,8 +54,9 @@ e.Use(mw.Gzip())
### Recover
Recover middleware recovers from panics anywhere in the chain and handles the control
to the centralized [HTTPErrorHandler](#error-handling).
Recover middleware recovers from panics anywhere in the chain and handles the
control to the centralized
[HTTPErrorHandler]({{< relref "guide/customization.md#http-error-handler">}}).
*Example*

View File

@@ -6,7 +6,7 @@ menu:
weight: 30
---
Echo's router is [fast, optimized](https://github.com/labstack/echo#benchmark) and
Echo's router is [fast, optimized]({{< relref "index.md#performance">}}) and
flexible. It's based on [radix tree](http://en.wikipedia.org/wiki/Radix_tree) data
structure which makes route lookup really fast. Router leverages [sync pool](https://golang.org/pkg/sync/#Pool)
to reuse memory and achieve zero dynamic memory allocation with no GC overhead.