filewatcher

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package filewatcher provides a service that watches config files and issues a debounced event with changes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(cfg *config.Config, disableAutoHotReload *bool) *Service

func (*Service) Listen

func (s *Service) Listen() <-chan interface{}

func (*Service) Run

func (s *Service) Run(ctx context.Context) error

func (*Service) Update

func (s *Service) Update() error

Jump to

Keyboard shortcuts

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