clean

package
v0.0.0-...-d0162ed Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DB     *dbcontext.DB
	Period int
	Tables []string
	Logger log.Logger
}

type Runner

type Runner interface {
	Run()
}

func NewRunner

func NewRunner(config RunnerConfig) Runner

type RunnerConfig

type RunnerConfig struct {
	Service Service
}

type Service

type Service interface {
	Clean()
}

func NewService

func NewService(c Config) Service

Jump to

Keyboard shortcuts

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