Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClient = ServiceError{/* contains filtered or unexported fields */} ErrNotFound = ServiceError{/* contains filtered or unexported fields */} )
Sentinel errors.
Functions ¶
This section is empty.
Types ¶
type ServiceError ¶
type ServiceError struct {
// contains filtered or unexported fields
}
ServiceError has detailed information about errors from the service package.
func (ServiceError) Error ¶
func (se ServiceError) Error() string
Error is used to output the error message.
func (ServiceError) Is ¶
func (se ServiceError) Is(target error) bool
Is checks if the given error and the current ServiceError are the same.
type Worker ¶
type Worker struct { HTTPClient *http.Client URLSigningSecret string Logger zerolog.Logger TraceExtractor func(context.Context, zerolog.Logger) (zerolog.Logger, error) StorageBucketRegion map[string]string // contains filtered or unexported fields }
Worker used to fetch and process PDF files.
Click to show internal directories.
Click to hide internal directories.