monarch_grpc

Contains gRPC interfaces for the Monarch CLI and the Monarch Controller.

Install gRPC proto buffer compiler

  1. Install the Protocol Buffer Compiler.
    1. For Windows, install the pre-compiled binaries.
    2. For macOS, you can install the pre-compiled binaries or use a package manager.
  2. Install the Dart plugin for the protocol compiler:
$ dart pub global activate protoc_plugin

If you need further install instructions the gRPC Dart Quick start.

Regenerate gRPC code

On macOS:

$ sh tools/gen_grpc.sh

On Windows:

PS> .\tools\gen_grpc.bat

gRPC resources

Libraries

monarch_grpc