Documentation
¶
Overview ¶
Package reloader provides a service that listens to file change notifications and issues an application-wide reload
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IFilewatcher ¶
type IFilewatcher interface {
Update() error
Listen() <-chan interface{}
}
type IGenerators ¶ added in v1.4.0
type IGenerators interface {
ValidateTemplates() error
}
type ILidDetector ¶ added in v1.3.0
type IPowerDetector ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(cfg *config.Config, filewatcher IFilewatcher, powerDetector IPowerDetector, service IService, disableAutoHotReload bool, lidDetector ILidDetector, gen IGenerators, ) *Service
Click to show internal directories.
Click to hide internal directories.