consul: status rpc endpoint

This commit is contained in:
Armon Dadgar 2013-12-09 15:29:20 -08:00
parent dbc9eeb8a7
commit 15a1cf589b
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
}