https://github.com/code0-tech/tucana
GRPC interface library
https://github.com/code0-tech/tucana
grpc grpc-ruby grpc-rust ruby rust
Last synced: 4 months ago
JSON representation
GRPC interface library
- Host: GitHub
- URL: https://github.com/code0-tech/tucana
- Owner: code0-tech
- License: apache-2.0
- Created: 2024-07-04T17:25:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-03T06:10:25.000Z (4 months ago)
- Last Synced: 2025-09-03T08:18:09.785Z (4 months ago)
- Topics: grpc, grpc-ruby, grpc-rust, ruby, rust
- Language: Rust
- Homepage:
- Size: 361 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tucana
This repository is responsible for all gRPC definitions that we use.
## Setup
See the setup guide for the following languages. Support for other languages is not planed!
### Rust
See: [Crate](https://crates.io/crates/tucana)
```toml
[dependencies]
tucana = { version = "" }
```
To enable additional features::
```toml
[dependencies]
tucana = { version = "", features = ["sagittarius", "aquila"] }
```
### Ruby
See: [Gem](https://rubygems.org/gems/tucana)
```ruby
gem 'tucana', ''
```
Don't forget to initialize the required feature:
```ruby
# For Sagittarius
Tucana.load_protocol(:sagittarius)
# For Aquila
Tucana.load_protocol(:aquila)
```
## Project Structure
The project is organized with services functioning as servers. Each protocol in the Sagittarius folder corresponds to
services that Sagittarius must implement as a server.
```ascii-tree
.
├── aquila
│ ├── action - Action service (emits events, manages configs, and handles executions)
│ ├── data_type - DataType service
│ ├── execution - Execution service (handles internal execution calls)
│ ├── flow_definition - FlowType service (handles flow_type updates)
│ └── runtime_function - Service for updating the runtime functions
├── sagittarius
│ ├── action - Action service (manages logon/logoff requests for action configurations)
│ ├── data_type - DataType service
│ ├── flow - Flow service (handles flow updates)
│ ├── flow_definition - FlowType service (handles flow_type updates)
│ ├── ping - Ping service (performs life checks)
│ ├── runtime_function - Service for updating the runtime functions
│ └── test_execution - Service and Types for the test execution
└── shared
├── data_type - Defines types for data types
├── event - Defines types for events
├── flow - Defines types for flows
├── flow_definition - Defines a definition for a Flow
├── runtime_function_definition - Defines types for runtime functions
├── struct - Defines types for json representations
└── translation - Contains translations with country codes and translated messages
```