gaza_machine

Last updated:

0 purchases

gaza_machine Image
gaza_machine Images
Add to Cart

Description:

gaza machine

Gaza Machine #
gaza_machine is micro service that execute commands given by the client.
gaza_machine is a core part of gaza, still thought it can be used seperately.
Usage #
Create a machine server #
final server = await GazaMachine.create(8000);
copied to clipboard
Connect to the machine #
final client = GazaMachine.connect(8000, "0.0.0.0");
// Or if you are running the server on the same machine:
// final client = server.client;
copied to clipboard
Local machine #
final machine = GazaMachine.localMachine("/home/z/Documents/machine-data");
copied to clipboard
Build #
1. Install the protobuf compiler #
2. Install the protobuf plugin for dart #
dart pub global activate protoc_plugin
copied to clipboard
3. Generate proto files: #
./scripts/generate_protos.py
copied to clipboard
Test #
dart test --reporter=expanded
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.