Documentation ¶
Overview ¶
Package events based on https://thoughtbot.com/blog/writing-a-server-sent-events-server-in-go
Index ¶
Constants ¶
View Source
const Any = "*"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeepAlive ¶
type KeepAlive struct { TS int64 `json:"ts"` // contains filtered or unexported fields }
type RefreshResource ¶ added in v0.44.0
type RefreshResource struct {
// contains filtered or unexported fields
}
func (*RefreshResource) Data ¶ added in v0.44.0
func (rr *RefreshResource) Data(evt Event) string
func (*RefreshResource) With ¶ added in v0.44.0
func (rr *RefreshResource) With(resource string, ids ...string) *RefreshResource
type ScanStatus ¶
type ServerStart ¶
Click to show internal directories.
Click to hide internal directories.