Documentation
¶
Index ¶
Constants ¶
View Source
const ( ComponentName = "calendar_channel_watch" RequestPort = "request" ResponsePort = "response" ErrorPort = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calendar ¶
type Calendar struct {
ID string `json:"id" required:"true" title:"Calendar ID" description:"Google Calendar ID to be watched"`
}
type Channel ¶
type Channel struct {
ID string `json:"id" required:"true" title:"ID" description:"A UUID or similar unique string that identifies this channel."`
Type string `` /* 274-byte string literal not displayed */
Address string `json:"address" required:"true" title:"Address" description:"The address where notifications are delivered for this channel."`
Expiration int64 `` /* 148-byte string literal not displayed */
ResourceId string `` /* 161-byte string literal not displayed */
ResourceUri string `json:"resourceUri" title:"ResourceURI" description:"A version-specific identifier for the watched resource."`
Token string `` /* 149-byte string literal not displayed */
}
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (*Component) GetInfo ¶
func (h *Component) GetInfo() module.ComponentInfo
type Request ¶
type Request struct {
Context Context `json:"context,omitempty" configurable:"true" title:"Context" description:"Arbitrary message to be send further"`
Calendar Calendar `json:"calendar" required:"true" title:"Calendar"`
Channel Channel `json:"channel" required:"true" title:"Channel"`
Token etc.Token `json:"token" required:"true" title:"Token"`
Config etc.ClientConfig `json:"config" required:"true" title:"Client credentials"`
}
type Response ¶
type Response struct {
Context Context `json:"context"`
Channel WatchChannel `json:"channel"`
}
type Settings ¶
type Settings struct {
EnableErrorPort bool `` /* 137-byte string literal not displayed */
}
type WatchChannel ¶
type WatchChannel struct {
ID string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.