Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "1.4.0" GitBranch = "unknown" GitCommit = "ffffff" )
View Source
var DefaultConfigs = Config{ &PushoverConfig{ Server: "unknown", Enable: false, UserKey: "", AppKey: "", }, }
View Source
var Obj = &DefaultConfigs
Functions ¶
func FormattedVersion ¶
func FormattedVersion() string
Types ¶
type Config ¶
type Config struct {
Pushover *PushoverConfig
}
type PushoverConfig ¶
type PushoverConfig struct {
Server string
Enable bool
UserKey string
AppKey string
// contains filtered or unexported fields
}
func (*PushoverConfig) Init ¶
func (p *PushoverConfig) Init()
func (*PushoverConfig) Send ¶
func (p *PushoverConfig) Send(message, title string)
Click to show internal directories.
Click to hide internal directories.