Ping returns empty
(context.Context, *remote.Empty)
| 88 | |
| 89 | // Ping returns empty |
| 90 | func (u *Upstream) Ping(context.Context, *remote.Empty) (*remote.Empty, error) { |
| 91 | if u.ping != nil { |
| 92 | u.ping.Ping() |
| 93 | } |
| 94 | |
| 95 | return &remote.Empty{}, nil |
| 96 | } |
| 97 | |
| 98 | // RestartContainer implements the server |
| 99 | func (u *Upstream) RestartContainer(context.Context, *remote.Empty) (*remote.Empty, error) { |