proto

module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2021 License: BSD-3-Clause

README

DVote Protobuf

Protobuf definitions for messages and services used by the Vocdoni open stack.

Check out the source code generated for each of the available languages.

Important note

  • In protobuf, new fields can be added, renamed and removed with future-compatibility.
  • However, once an ID has been used, it can't never be reused by any other field again

Get started

If protoc is installed in the host system, it will be used by default. To force installing protoc, set PROTOC variable to blank: PROTOC= make <action>

To install protoc and the plugins for Dart and Go:

$ make init

Or optionally:

$ make protoc/bin/protoc
$ make protoc-dart-plugin
$ make protoc-go-plugin

Then, run make all to build all the targets

Available models

  • client-store
    • Data types used for client apps to store local data
  • common
    • Types shared across many components
  • metadata
    • Human readable data for organizations, governance processes, news feeds, etc. - Human readable data for organizations, governance processes, news feeds, etc.
  • vochain
    • Specific data types for the Vocdoni Vochain

Build

  • Build DART models: make dart
  • Build GoLang models: make golang

Artifacts

Import the files from:

  • build/dart/*
  • go-vocdonitypes/*

Directories

Path Synopsis
build

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL