sync

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(cfg *config.Setting, msgCh chan *lib.CPMonitorSnap) (*watcher.Watcher, error)

Types

type Syncer added in v1.0.1

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

func NewSyncer added in v1.0.1

func NewSyncer() *Syncer

func (*Syncer) Close added in v1.0.1

func (s *Syncer) Close()

func (*Syncer) Force added in v1.0.1

func (s *Syncer) Force()

func (*Syncer) Message added in v1.0.1

func (s *Syncer) Message() <-chan *lib.CPMonitorSnap

func (*Syncer) Reload added in v1.0.1

func (s *Syncer) Reload(cfg *config.Config)

func (*Syncer) Start added in v1.0.1

func (s *Syncer) Start(cfg *config.Config) error

Jump to

Keyboard shortcuts

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