Documentation ¶
Index ¶
- Constants
- func Event(shared *shared.Shared, event Events)
- func Handle(platform string, shared *shared.Shared, msg interface{})
- func HandleChange(shared *shared.Shared, event Events)
- func HandleConnect(shared *shared.Shared, container platforms.IContainer)
- func HandleDelete(shared *shared.Shared, event Events)
- func HandleDie(shared *shared.Shared, container platforms.IContainer)
- func HandleDisconnect(shared *shared.Shared, container platforms.IContainer)
- func HandleKill(shared *shared.Shared, container platforms.IContainer)
- func HandleRestart(shared *shared.Shared, event Events)
- func HandleStart(shared *shared.Shared, container platforms.IContainer)
- func HandleStop(shared *shared.Shared, container platforms.IContainer)
- func NewEventsListener(shared *shared.Shared, e chan raft.KV)
- func NewPlatformEventsListener(shared *shared.Shared, platform string)
- type Events
Constants ¶
View Source
const EVENT_CHANGE = "change"
View Source
const EVENT_DELETE = "delete"
View Source
const EVENT_RECREATE = "recreate"
View Source
const EVENT_RESTART = "restart"
View Source
const EVENT_STOP = "stop"
Variables ¶
This section is empty.
Functions ¶
func HandleChange ¶
func HandleConnect ¶
func HandleConnect(shared *shared.Shared, container platforms.IContainer)
func HandleDelete ¶ added in v0.0.107
func HandleDisconnect ¶
func HandleDisconnect(shared *shared.Shared, container platforms.IContainer)
func HandleKill ¶
func HandleKill(shared *shared.Shared, container platforms.IContainer)
func HandleRestart ¶ added in v0.0.107
func HandleStart ¶
func HandleStart(shared *shared.Shared, container platforms.IContainer)
func HandleStop ¶
func HandleStop(shared *shared.Shared, container platforms.IContainer)
Types ¶
Click to show internal directories.
Click to hide internal directories.