Skip to content
Provides a protoc plugin that generates the client and server for working with NATS.
Go Shell Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/protoc-gen-nats
generator
internal
parser
proto
templates
.gitignore
.goreleaser.yml
.travis.yml
CONTRIBUTING.md
LICENSE
Makefile
README.md
go.mod
go.sum
install.sh
subscriber.go

README.md

Proto Nats

Build Status Codecov branch Release GoDoc Go Report Card License Powered By: GoReleaser

Description

proto-nats provides a plugin for the protoc compiler. It generates the client and server for working with NATS.

Installation

Download the plugin from the Releases page.

Shell script:

$ curl -Ls https://git.io/proto-nats | bash

Development

Requirements

  • Install Go

Makefile

# Build (dev only)
$ make build

# Clean up
$ make clean

# Run tests and generates html coverage file
$ make cover

# Format all go files
$ make fmt

# Pack the template using [Pkger](https://github.com/markbates/pkger)
$ make pack

# Run tests
$ make test

License

This project is released under the MIT licence. See LICENSE for more details.

You can’t perform that action at this time.