example

command
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Example gRPC plugin for GoatKit.

Build: go build -o hello-grpc ./internal/plugin/grpc/example

Deploy to the plugins directory alongside plugin.yaml:

plugins/hello-grpc/
  ├── plugin.yaml   # name, version, runtime: grpc, binary: hello-grpc
  └── hello-grpc    # the executable

The host discovers plugin.yaml, launches the binary, and communicates via RPC. Hot reload: updating the binary triggers automatic unload → reload.

Jump to

Keyboard shortcuts

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