mirror of https://github.com/status-im/consul.git
consul: status rpc endpoint
This commit is contained in:
parent
dbc9eeb8a7
commit
15a1cf589b
|
@ -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