scheduler

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package scheduler provides background job scheduling for minimaldoc-server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

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

Scheduler runs background jobs on a ticker.

func New

func New(db store.Store, interval time.Duration) *Scheduler

New creates a new scheduler with the given interval.

func (*Scheduler) Start

func (s *Scheduler) Start()

Start begins the scheduler loop.

func (*Scheduler) Stop

func (s *Scheduler) Stop()

Stop gracefully stops the scheduler.

Jump to

Keyboard shortcuts

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