fileutil

package
v0.6.29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateTimeDeltaFromUnixInSeconds added in v0.5.25

func CalculateTimeDeltaFromUnixInSeconds(from string) (int64, error)

func StartLoadDynamicFile

func StartLoadDynamicFile(filename string, callBack FileChangeCallBack, stopCh <-chan struct{})

Types

type FileChangeCallBack

type FileChangeCallBack interface {
	CallBackForFileLoad(dynamicContent []byte) error
	CallBackForFileDeletion() error
}

Jump to

Keyboard shortcuts

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