Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidRequestPayload = errors.New("invalid request payload")
Functions ¶
This section is empty.
Types ¶
type UseCase ¶
type UseCase struct {
// contains filtered or unexported fields
}
func New ¶
func New( serverRepo repositories.ServerRepository, instanceRepo repositories.InstanceRepository, probeRepo repositories.ProbeRepository, opts UseCaseOptions, validate *validator.Validate, metrics *metrics.Collector, clock clockwork.Clock, logger *zerolog.Logger, ) UseCase
type UseCaseOptions ¶ added in v0.14.0
type UseCaseOptions struct {
MaxProbeRetries int
}
Click to show internal directories.
Click to hide internal directories.