Categorygithub.com/KyberNetwork/reload
modulepackage
0.1.1
Repository: https://github.com/kybernetwork/reload.git
Documentation: pkg.go.dev

# README

Reload

Reload is a Golang library for dynamic reloading config.

Installation

Use Go modules to install Reload.

go get github.com/KyberNetwork/reload

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

# Functions

NewManager returns a new manager.
NewMockReloader creates a new mock instance.

# Structs

Manager handles the reload mechanism.
MockReloader is a mock of Reloader interface.
MockReloaderMockRecorder is the mock recorder for MockReloader.

# Interfaces

Notifier knows how to trigger a reload process.
Reloader knows how to reload a resource.

# Type aliases

NotifierFunc is a helper to create notifiers from functions.
ReloaderFunc is a helper to create reloaders based on functions.