proto_nats

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 0 Imported by: 0

README

Proto Nats

Build Status Codecov branch Release GoDoc Go Report Card License

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.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueueSubscriber

type QueueSubscriber interface {
	// Subscribe will register all the services into broker queue service.
	Subscribe() error

	// Unsubscribe will unregister all the services from the broker queue service.
	Unsubscribe() error
}

QueueSubscriber is the interface generate to communicate with queue broker.

Directories

Path Synopsis
cmd
internal
cli
gen

Jump to

Keyboard shortcuts

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