communicate/events/event_port.go

18 lines
296 B
Go
Raw Normal View History

2016-11-28 05:15:31 +00:00
package events
2016-11-28 05:25:11 +00:00
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,
}
}