forked from Elara6331/itd
Add context support and update lrpc
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package api
|
||||
|
||||
func (c *Client) Notify(title, body string) error {
|
||||
import "context"
|
||||
|
||||
func (c *Client) Notify(ctx context.Context, title, body string) error {
|
||||
return c.client.Call(
|
||||
ctx,
|
||||
"ITD",
|
||||
"Notify",
|
||||
NotifyData{
|
||||
|
||||
Reference in New Issue
Block a user