Rename the RoveServer proto to Rove
This commit is contained in:
parent
ccb34d4452
commit
856771dac7
5 changed files with 164 additions and 164 deletions
|
@ -132,7 +132,7 @@ func (s *Server) Initialise(fillWorld bool) (err error) {
|
|||
log.Fatalf("failed to listen: %v", err)
|
||||
}
|
||||
s.grpcServ = grpc.NewServer()
|
||||
rove.RegisterRoveServerServer(s.grpcServ, s)
|
||||
rove.RegisterRoveServer(s.grpcServ, s)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ func InnerMain(command string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
var client = rove.NewRoveServerClient(clientConn)
|
||||
var client = rove.NewRoveClient(clientConn)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
defer cancel()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue