An open API service indexing awesome lists of open source software.

https://github.com/bavix/vakeel

An agent sending an event about its work
https://github.com/bavix/vakeel

Last synced: over 1 year ago
JSON representation

An agent sending an event about its work

Awesome Lists containing this project

README

          

# vakeel

vakeel is a service that allows you to send updates from multiple clients to a single server.

## Description of the service

The vakeel service is built using [gRPC](https://grpc.io/) and [zerolog](https://github.com/rs/zerolog).

### Agent
The agent is a client that sends updates to the server.

### Server
The server is a gRPC server that receives updates from multiple clients and stores them in memory.

### Protocol
The protocol used by the service is defined in the [protobuf definition](https://github.com/bavix/vakeel-way/blob/master/api/vakeel_way/state.proto).

## Run the service
```
LOG_LEVEL=info go run main.go agent --id=224f8a59-6705-4f3e-b7de-177757932aad
```

## Upgrade

To update manually, you can use the following command:
```
wget -qO- https://github.com/bavix/vakeel/releases/download/v1.2.0/vakeel-v1.2.0-linux-amd64.tar.gz | tar xvz -C /tmp; mv /tmp/vakeel $(dirname `which vakeel`); chmod +x `which vakeel`
```

After restart the service.

Someday you'll need to make an automatic update)