usecases

package
v0.0.0-...-2d4ca7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckService

type CheckService interface {
	Check(serviceUrl string)
}

func NewCheckServiceImplementation

func NewCheckServiceImplementation(httpClient services.HTTPClient, logRepository repository.LogRepository, onSuccess func(), onFailure func()) CheckService

type CheckServiceImplementation

type CheckServiceImplementation struct {
	HTTPClient    services.HTTPClient
	LogRepository repository.LogRepository
	OnSuccess     func()
	OnFailure     func()
}

func (*CheckServiceImplementation) Check

func (checkService *CheckServiceImplementation) Check(serviceUrl string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL