Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustStartDev ¶ added in v0.0.18
Types ¶
type ChangeType ¶
type ChangeType string
const ( ChangeTypeNormalCSS ChangeType = common.CSSNormalDirName ChangeTypeCriticalCSS ChangeType = common.CSSCriticalDirName ChangeTypeOther ChangeType = "other" ChangeTypeRebuilding ChangeType = "rebuilding" )
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a single SSE connection
type ClientManager ¶
type ClientManager struct {
// contains filtered or unexported fields
}
ClientManager manages all SSE clients
func NewClientManager ¶
func NewClientManager() *ClientManager
type EvtDetails ¶
type EvtDetails struct {
// contains filtered or unexported fields
}
type RefreshFilePayload ¶
type RefreshFilePayload struct { ChangeType ChangeType `json:"changeType"` CriticalCSS string `json:"criticalCss"` NormalCSSURL string `json:"normalCssUrl"` At time.Time `json:"at"` }
Click to show internal directories.
Click to hide internal directories.