scheduledjobs

package
v0.0.0-...-93a69da Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Partitioner

type Partitioner interface {
	RLock()
	Pick() int
	RUnlock()
}

type Service

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

func New

func New(cfg ServiceConfig) *Service

func (*Service) Get

func (*Service) Schedule

type ServiceConfig

type ServiceConfig struct {
	Log         zerolog.Logger
	DB          *storage.DB
	Partitioner Partitioner
}

Jump to

Keyboard shortcuts

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