syncer

package
v0.0.0-...-a87960e Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(file string) (bool, error)

Types

type Fetcher

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

func NewFetcher

func NewFetcher(consulAddr, consulToken, consulPath, localPath string) *Fetcher

func (*Fetcher) Fetch

func (f *Fetcher) Fetch() error

type Syncer

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

func NewSyncer

func NewSyncer(consulAddr, consulToken, consulPath, localPath string, casTry int) *Syncer

func (*Syncer) Sync

func (s *Syncer) Sync() error

Jump to

Keyboard shortcuts

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