Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Scheme is the identifying part of this service's configuration URL
Scheme = "gotify"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { standard.EnumlessConfig Token string `url:"path2" desc:"Application token" required:""` Host string `url:"host,port" desc:"Server hostname (and optionally port)" required:""` Path string `optional:"" url:"path1" desc:"Server subpath"` Priority int `key:"priority" default:"0"` Title string `key:"title" default:"Shoutrrr notification"` DisableTLS bool `key:"disabletls" default:"No"` }
Config for use within the gotify plugin
type JSON ¶
type JSON struct { Message string `json:"message"` Title string `json:"title"` Priority int `json:"priority"` }
JSON is the actual payload being sent to the Gotify API
Click to show internal directories.
Click to hide internal directories.