export the Send funciton (duh!)
Signed-off-by: Amrit Panesar <amrit@station-app.com>
This commit is contained in:
1 parent
eb9ced212c
commit
4407e5ab6d
1 file changed
+1
-1
@@ -17,7 +17,7 @@ func (p *PushoverClient) new(token string) {
|
|||||||
p.ApplicationToken = token
|
p.ApplicationToken = token
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *PushoverClient) send(to string, message string, priority string) {
|
func (p *PushoverClient) Send(to string, message string, priority string) {
|
||||||
payload := url.Values{
|
payload := url.Values{
|
||||||
"token": {p.ApplicationToken},
|
"token": {p.ApplicationToken},
|
||||||
"user": {to},
|
"user": {to},
|
||||||
|
|||||||
Reference in new issue
Block a user