cleanservers

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoResponse = Response{}

Functions

This section is empty.

Types

type Response

type Response struct {
	Count  int
	Errors int
}

type UseCase

type UseCase struct {
	// contains filtered or unexported fields
}

func New

func New(
	serverRepo repositories.ServerRepository,
	instanceRepo repositories.InstanceRepository,
	logger *zerolog.Logger,
) UseCase

func (UseCase) Execute

func (uc UseCase) Execute(ctx context.Context, until time.Time) (Response, error)

Jump to

Keyboard shortcuts

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