grpc/

directory
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT

README

Waves Node gRPC

Installation

Install gRPC & Protobuf:

go get -u google.golang.org/grpc
go get -u google.golang.org/protobuf/proto
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
go install github.com/alexeykiselev/vtprotobuf/cmd/protoc-gen-go-vtproto@main

Package structure

  • grpc/protobuf-schemas/ - a submodule of protobuf-schemas project (proto files).
  • grpc/generated - code generated from proto files.
  • grpc/server - gRPC server implementation (API).

Instructions

If you want to update proto schemas:

cd pkg/grpc/protobuf-schemas
git submodule update --init
git pull

If you want to regenerate the code from updated schemas:

make proto # from the root of gowaves repo

Directories

Path Synopsis
generated

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳