Documentation
¶
Overview ¶
Package access provides interfaces for components that support runtime reloading.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reloadable ¶
type Reloadable interface {
// Reload refreshes the component's internal state.
// Implementations should handle errors gracefully and maintain consistency.
Reload()
}
Reloadable defines an interface for components that can be reloaded at runtime. This is commonly used for configuration objects, caches, or other stateful components that need to refresh their state without restarting the application.
Click to show internal directories.
Click to hide internal directories.