1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-17 01:43:02 +02:00
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-04-20 07:32:51 -07:00
parent 2918b44698
commit 1247552c9b
9 changed files with 35 additions and 30 deletions

View File

@ -12,16 +12,16 @@ type (
// RecoverConfig defines the config for recover middleware.
RecoverConfig struct {
// StackSize is the stack size to be printed.
// Optional with default value as 4 KB.
// Optional, with default value as 4 KB.
StackSize int
// DisableStackAll disables formatting stack traces of all other goroutines
// into buffer after the trace for the current goroutine.
// Optional with default value as false.
// Optional, with default value as false.
DisableStackAll bool
// DisablePrintStack disables printing stack trace.
// Optional with default value as false.
// Optional, with default value as false.
DisablePrintStack bool
}
)