abuse-mesh-go-stubs

module
v0.0.0-...-5025be6 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2019 License: MIT

README

abuse-mesh-go-stubs

This repository contains the go code grpc stubs for abuse mesh

Generate the stubs

  1. (first time only) clone the abuse mesh protocol repo git clone https://github.com/abuse-mesh/abuse-mesh-protocol.git vendor/abuse-mesh-protocol
  2. checkout and pull the desired version git -C vendor/abuse-mesh-protocol checkout {{branch}} && git -C vendor/abuse-mesh-protocol pull
  3. generate the go stubs from the protocol files docker run --rm -v $(pwd):$(pwd) -w $(pwd) znly/protoc -I vendor/abuse-mesh-protocol abuse-mesh-common.proto abuse-mesh.proto --go_out=plugins=grpc:abusemesh
  4. if the protocol version has changed the version constant in 'vendor/abusemesh/abuse-mesh-version.go' should be updated by hand

Directories

Path Synopsis
Package abusemesh is a generated protocol buffer package.
Package abusemesh is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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