Skip to content

pointlander/grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC Trigger, Activity, and Examples

This repo contains gRPC trigger, activity and examples. It is intended to work with the microgateway.

Development

Testing

To run tests issue the following command in the root of the project:

go test -p 1 ./...

The -p 1 is needed to prevent tests from being run in parallel. To re-run the tests first run the following:

go clean -testcache

To skip the integration tests use the -short flag:

go test -p 1 -short ./...

gRPC utility

The gRPC utility generates the files needed by the trigger and activity from a proto file.

Install

Run the following in the root of the repo:

go install

Example

Generates the needed files from petstore.proto and places them in src as the main package:

grpc -input petstore.proto -output src/ -package main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages