natsrpc

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 12 Imported by: 1

README

Protobuf plugin to generate NATS equivalent to gRPC services

go install github.com/delaneyj/toolbelt/natsrpc/cmd/protoc-gen-natsrpc@latest

inside your buf.gen.yaml file, add the following:

version: v1

plugins:
  - plugin: natsrpc
    out: ./gen
    opt:
      - paths=source_relative

then run buf generate to generate the NATS files.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(gen *protogen.Plugin, file *protogen.File) error

Types

This section is empty.

Directories

Path Synopsis
cmd
protos

Jump to

Keyboard shortcuts

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