Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreCanceled ¶
IgnoreCanceled returns nil, when the operation was about canceling.
func IsCanceled ¶
IsCanceled returns true, when the error is a cancellation.
Types ¶
type CodeMap ¶
type CodeMap map[*errs.Class]rpcstatus.StatusCode
CodeMap is used to apply the correct rpc status code to error classes.
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Group is a collection of goroutines working on subtasks that are part of the same overall task.
type LoggingSanitizer ¶
type LoggingSanitizer struct {
// contains filtered or unexported fields
}
LoggingSanitizer consolidates logging of original errors with sanitization of internal errors.
func NewLoggingSanitizer ¶
NewLoggingSanitizer creates a new LoggingSanitizer.
Click to show internal directories.
Click to hide internal directories.