Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchProcessor ¶
type BatchProcessor interface {
Run(ctx context.Context, key string, operation func(*Train)) error
}
BatchProcessor is an optional interface to decouple your code from `batch` package.
type ErrValidation ¶
type ErrValidation string
func (ErrValidation) Error ¶
func (e ErrValidation) Error() string
func (ErrValidation) Is ¶
func (e ErrValidation) Is(err error) bool
type Service ¶
type Service struct {
BatchProcessor BatchProcessor
}
Click to show internal directories.
Click to hide internal directories.