file

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sync

type Sync struct {
	URI    string
	Logger *logger.Logger

	Mux *msync.RWMutex
	// contains filtered or unexported fields
}

func NewFileSync added in v0.7.3

func NewFileSync(uri string, logger *logger.Logger) *Sync

func (*Sync) Init

func (fs *Sync) Init(_ context.Context) error

func (*Sync) IsReady

func (fs *Sync) IsReady() bool

func (*Sync) ReSync

func (fs *Sync) ReSync(ctx context.Context, dataSync chan<- sync.DataSync) error

func (*Sync) Sync

func (fs *Sync) Sync(ctx context.Context, dataSync chan<- sync.DataSync) error

Jump to

Keyboard shortcuts

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