Ping returns empty
(context.Context, *remote.Empty)
| 221 | |
| 222 | // Ping returns empty |
| 223 | func (d *Downstream) Ping(context.Context, *remote.Empty) (*remote.Empty, error) { |
| 224 | if d.ping != nil { |
| 225 | d.ping.Ping() |
| 226 | } |
| 227 | |
| 228 | return &remote.Empty{}, nil |
| 229 | } |
| 230 | |
| 231 | // ChangesCount returns the amount of changes on the remote side |
| 232 | func (d *Downstream) ChangesCount(context.Context, *remote.Empty) (*remote.ChangeAmount, error) { |