dynamic_conf

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FsNotify

type FsNotify struct {
	Path string `json:"path"`
	*fsnotify.Watcher
}

func NewFsNotify

func NewFsNotify(path string) (*FsNotify, error)

func (*FsNotify) AddListener

func (lf *FsNotify) AddListener(listener func()) error

func (*FsNotify) Value

func (lf *FsNotify) Value() (string, error)

Jump to

Keyboard shortcuts

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