consul: status rpc endpoint
This commit is contained in:
parent
2d7af79662
commit
f582b86cd8
|
@ -0,0 +1,11 @@
|
||||||
|
package consul
|
||||||
|
|
||||||
|
// Status endpoint is used to check on server status
|
||||||
|
type Status struct {
|
||||||
|
server *Server
|
||||||
|
}
|
||||||
|
|
||||||
|
// Ping is used to just check for connectivity
|
||||||
|
func (s *Status) Ping(args struct{}, reply *struct{}) error {
|
||||||
|
return nil
|
||||||
|
}
|
Loading…
Reference in New Issue