func (s *Status) Leader(args struct{}, reply *string) error {
	leader := s.server.raft.Leader()
	if leader != nil {
		*reply = leader.String()
	} else {
		*reply = ""
	}
	return nil
}
Leader is used to get the address of the leader
package consul
type Status struct {
	server *Server
}
func (s *Status) Ping(args struct{}, reply *struct{}) error {
	return nil
}