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

31 lines
431 B
Go

package events
type BackgroundEvent interface {
Event
isBackgroundEvent()
}
type backgroundEvent struct{ event }
func (e backgroundEvent) isBackgroundEvent() {}
type SigIntEvent struct{ backgroundEvent }
type SetRootEvent struct {
Path string
backgroundEvent
}
type BeginRequestEvent struct {
Seq int
Path string
backgroundEvent
}
type EndRequestEvent struct {
Seq int
Status int
Bytes int
backgroundEvent
}