Arsen Musayelyan
b757af7fed
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
16 lines
245 B
Go
16 lines
245 B
Go
package api
|
|
|
|
import (
|
|
"context"
|
|
|
|
"go.arsenm.dev/itd/internal/rpc"
|
|
)
|
|
|
|
func (c *Client) Notify(ctx context.Context, title, body string) error {
|
|
_, err := c.client.Notify(ctx, &rpc.NotifyRequest{
|
|
Title: title,
|
|
Body: body,
|
|
})
|
|
return err
|
|
}
|