Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
func NewEventHandler ¶
type EventHandlers ¶
type EventHandlers struct {
Store store.Storer[OnChangeFn]
}
type Informers ¶
type Informers struct {
Store store.Storer[*EventHandlers]
}
Informers (handle the path) -> eventhandler handle the name
func NewInformers ¶
func NewInformers() *Informers
func (*Informers) AddEventHandler ¶
func (r *Informers) AddEventHandler(path, name string, handler OnChangeFn) error
type OnChangeFn ¶
type OnChangeFn func()
Click to show internal directories.
Click to hide internal directories.