From 15a1cf589b01f6f8746ad86292411947debb2078 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Mon, 9 Dec 2013 15:29:20 -0800 Subject: [PATCH] consul: status rpc endpoint --- consul/status_endpoint.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 consul/status_endpoint.go diff --git a/consul/status_endpoint.go b/consul/status_endpoint.go new file mode 100644 index 0000000000..4680f55520 --- /dev/null +++ b/consul/status_endpoint.go @@ -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 +}