Documentation
¶
Index ¶
- func AddCleanup(cleaner func())
- func CatchSig() (context.Context, context.Context)
- func GetDurationInMillseconds(start time.Time) float64
- func GinRecovery(buildResp func(*gin.Context, map[string]interface{})) gin.HandlerFunc
- func RescuePanic(id RequestId, context interface{})
- func Stack() []string
- type RequestId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCleanup ¶ added in v0.3.5
func AddCleanup(cleaner func())
func GetDurationInMillseconds ¶ added in v0.0.37
func GinRecovery ¶ added in v1.0.1
func GinRecovery(buildResp func(*gin.Context, map[string]interface{})) gin.HandlerFunc
func RescuePanic ¶ added in v0.2.0
func RescuePanic(id RequestId, context interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.