You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dws/events/background_event.go

26 lines
372 B
Go

package events
type BackgroundEvent interface {
Event
isBackgroundEvent()
}
type backgroundEvent struct{ event }
func (e backgroundEvent) isBackgroundEvent() {}
7 years ago
type SigIntEvent struct{ backgroundEvent }
type SetRootEvent struct {
Path string
backgroundEvent
}
type BeginRequestEvent struct {
backgroundEvent
}
type EndRequestEvent struct {
backgroundEvent
}