func (s *Stockpile) GetStatus() (*entity.Status, error) {
  status, err := s.systemService.GetStatus(context.Background(), &empty.Empty{})
  if err != nil {
    return nil, err
  }
  return rpc.StatusFromRpc(status), nil
}
queries a server for its status
package client
import (
  "context"
  "github.com/dotStart/Stockpile/entity"
  "github.com/dotStart/Stockpile/rpc"
  "github.com/dotStart/Stockpile/stockpile/plugin"
  "github.com/golang/protobuf/ptypes/empty"
)