background

package
v0.0.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BackgroundService

type BackgroundService interface {
	Start(ctx context.Context) error
	Name() string
	WaitFor() time.Duration
}

type Service

type Service struct {
	BackgroundServices []BackgroundService
	// contains filtered or unexported fields
}

func New

func New(
	mxManager lock.MutexManager,
) *Service

func ProvideService

func ProvideService(
	mxManager lock.MutexManager,
) *Service

func (*Service) Start

func (s *Service) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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