Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMethodNotAllowed = errors.New("method not allowed") ErrLinkNotFound = errors.New("link is not located in the service") ErrLinkAlreadyExists = errors.New("link already exists in the service") ErrEmptyBodyPostReq = errors.New("body can't be empty") ErrUserHasNoRecords = errors.New("user has no records") ErrInvalidSignature = errors.New("invalid signature") ErrDeletedLink = errors.New("deleted link") )
Functions ¶
Types ¶
type WorkerPool ¶
type WorkerPool struct {
// contains filtered or unexported fields
}
func NewWorkerPool ¶
func NewWorkerPool(context context.Context, logger *zap.SugaredLogger) WorkerPool
Click to show internal directories.
Click to hide internal directories.