Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heartbeater ¶
type HeartbeaterImpl ¶
type HeartbeaterImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(fs ...HeartbeaterOpt) (*HeartbeaterImpl, error)
type HeartbeaterOpt ¶
type HeartbeaterOpt func(*HeartbeaterOpts)
func WithLogger ¶
func WithLogger(l *zerolog.Logger) HeartbeaterOpt
func WithRepository ¶
func WithRepository(r repository.Repository) HeartbeaterOpt
func WithTaskQueue ¶
func WithTaskQueue(tq taskqueue.TaskQueue) HeartbeaterOpt
type HeartbeaterOpts ¶
type HeartbeaterOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.