Documentation ¶
Index ¶
- type JobsController
- type JobsControllerImpl
- type JobsControllerOpt
- func WithAlerter(a hatcheterrors.Alerter) JobsControllerOpt
- func WithDataDecoderValidator(dv datautils.DataDecoderValidator) JobsControllerOpt
- func WithLogger(l *zerolog.Logger) JobsControllerOpt
- func WithMessageQueue(mq msgqueue.MessageQueue) JobsControllerOpt
- func WithRepository(r repository.Repository) JobsControllerOpt
- type JobsControllerOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobsController ¶
type JobsControllerImpl ¶
type JobsControllerImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(fs ...JobsControllerOpt) (*JobsControllerImpl, error)
func (*JobsControllerImpl) Start ¶
func (jc *JobsControllerImpl) Start() (func() error, error)
type JobsControllerOpt ¶
type JobsControllerOpt func(*JobsControllerOpts)
func WithAlerter ¶ added in v0.15.2
func WithAlerter(a hatcheterrors.Alerter) JobsControllerOpt
func WithDataDecoderValidator ¶
func WithDataDecoderValidator(dv datautils.DataDecoderValidator) JobsControllerOpt
func WithLogger ¶
func WithLogger(l *zerolog.Logger) JobsControllerOpt
func WithMessageQueue ¶ added in v0.16.0
func WithMessageQueue(mq msgqueue.MessageQueue) JobsControllerOpt
func WithRepository ¶
func WithRepository(r repository.Repository) JobsControllerOpt
type JobsControllerOpts ¶
type JobsControllerOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.