Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SafelyCallHandler ¶
func SafelyCallHandler(h transport.Handler, start time.Time, ctx context.Context, opts transport.Options, req *transport.Request, resq transport.ResponseWriter) (err error)
SafelyCallHandler calls the handler h, recovering panics and timeout errors, converting them to yarpc errors. All other errors are passed trough.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.