Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Scheme is the identifying part of this service's configuration URL.
Scheme = "googlechat"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { standard.EnumlessConfig Host string `default:"chat.googleapis.com"` Path string Token string Key string }
Config for use within the Google Chat plugin.
type JSON ¶
type JSON struct {
Text string `json:"text"`
}
JSON is the actual payload being sent to the Google Chat API.
type Service ¶
Service providing Google Chat as a notification service.
func (*Service) Initialize ¶
Initialize loads ServiceConfig from configURL and sets logger for this Service.
Click to show internal directories.
Click to hide internal directories.