consul: status rpc endpoint

This commit is contained in:
Armon Dadgar 2013-12-09 15:29:20 -08:00
parent 2d7af79662
commit f582b86cd8
1 changed files with 11 additions and 0 deletions

11
consul/status_endpoint.go Normal file
View File

@ -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
}