Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigChangedEvent ¶
type ConfigChangedEvent struct { }
func NewConfigChangedEvent ¶
func NewConfigChangedEvent() *ConfigChangedEvent
func (*ConfigChangedEvent) Type ¶
func (this *ConfigChangedEvent) Type() string
type EventInterface ¶
type EventInterface interface {
Type() string
}
type EventType ¶
type EventType = string
const (
EventTypeConfigChanged EventType = "EventTypeConfigChanged" // config changed
)
const (
EventTypeReload EventType = "EventTypeReload" // reload system
)
type Handler ¶
type Handler func(event EventInterface)
type ReloadEvent ¶
type ReloadEvent struct { }
func NewReloadEvent ¶
func NewReloadEvent() *ReloadEvent
func (*ReloadEvent) Type ¶
func (this *ReloadEvent) Type() string
Click to show internal directories.
Click to hide internal directories.