statesync

package
v0.2.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package statesync is a watcher implement.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

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

watcher implement.

func (*Watcher) Run

func (w *Watcher) Run()

Run runs the watcher.

func (*Watcher) SetMaxWorkers

func (w *Watcher) SetMaxWorkers(maxWorkers int64)

func (*Watcher) SetStore

func (w *Watcher) SetStore(store store.IStore)

SetStore sets the persistence store for the Watcher.

func (*Watcher) Spec

func (w *Watcher) Spec() string

Spec is parsed using the time zone of task Cron instance as the default.

Jump to

Keyboard shortcuts

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