Documentation ¶
Index ¶
Constants ¶
View Source
const ( ComponentName = "firestore_listen_collection" ResponsePort = "response" StartPort = "start" StopPort = "stop" ErrorPort = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (*Component) GetInfo ¶
func (g *Component) GetInfo() module.ComponentInfo
type Start ¶ added in v0.1.14
type Start struct { Context Context `json:"context,omitempty" title:"Context" configurable:"true"` Config etc.ClientConfig `json:"config" title:"Config" required:"true" description:"Client Config"` Collection string `json:"collection" title:"Collection" required:"true"` Wheres []utils.Where `json:"wheres,omitempty" title:"Where" description:"Where to filter. Leave empty if you want to listen the entire collection."` }
type StartControl ¶ added in v0.1.14
type StartControl struct {
Status string `json:"status" title:"Status" readonly:"true"`
}
type StopControl ¶ added in v0.1.14
Click to show internal directories.
Click to hide internal directories.