gaza_machine 0.0.5 copy "gaza_machine: ^0.0.5" to clipboard
gaza_machine: ^0.0.5 copied to clipboard

Execute commands easily across machines.

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);

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;

Local machine #

final machine = GazaMachine.localMachine("/home/z/Documents/machine-data");

Build #

1. Install the protobuf compiler #

2. Install the protobuf plugin for dart #

dart pub global activate protoc_plugin

3. Generate proto files: #

./scripts/generate_protos.py

Test #

dart test --reporter=expanded
0
likes
60
pub points
0%
popularity

Publisher

unverified uploader

Execute commands easily across machines.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

async, grpc, path, protobuf, system_info2

More

Packages that depend on gaza_machine