communicate/events/event_port.go
jackdaw efd575b325 .
2016-11-28 14:25:11 +09:00

18 lines
296 B
Go

package events
type PortStartEvent struct {
Zone int64
PortCount int
}
func (i PortStartEvent) GetUrl() string {
return SERVICE_END
}
func NewPortStartEvent(zone int64, portCount uint16) *CollectorInstallEvent {
return &PortStartEvent{
Zone: zone,
PortCount: portCount,
}
}