
The highest tagged major version is
v4.
package
Version:
v3.0.0
Opens a new window with list of versions in this module.
Published: May 27, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New creates a new webhook notification instance
Client represents an active webhook notification object
Name returns notifier's name
Send creates and sends a webhook notification with an entry
type Fact struct {
Name string `json:"Name"`
Value string `json:"Value"`
}
Fact is grouping data togheter to create a nested json element containg a name and an associated value
type Sections struct {
ActivityTitle string `json:"activityTitle"`
ActivitySubtitle string `json:"activitySubtitle"`
Facts []Fact `json:"facts"`
}
Sections is grouping data together containing title, subtitle and facts and creating a nested json element
Source Files
¶
Click to show internal directories.
Click to hide internal directories.