Plugis v3 service sdk
Find a file
2025-06-26 18:34:53 +02:00
example/echoService add StartService to plugis 2025-06-26 18:34:53 +02:00
pkg/nats-service add StartService to plugis 2025-06-26 18:34:53 +02:00
.gitignore First commit 2025-06-24 10:35:43 +02:00
go.mod First commit 2025-06-24 10:35:43 +02:00
go.sum First commit 2025-06-24 10:35:43 +02:00
LICENSE Initial commit 2025-06-24 10:29:34 +02:00
plugis.go add StartService to plugis 2025-06-26 18:34:53 +02:00
plugisservice.go add StartService to plugis 2025-06-26 18:34:53 +02:00
README.md add prefix 2025-06-25 14:35:33 +02:00
servicerunner.go add prefix 2025-06-25 14:35:33 +02:00

plugisservice

plugisservice is a package to write plugis3 services in Go.

A Plugis3 service is a NATS micro service with some specific properties that must implement the PlugisServiceIntf interface.

NATS Micro PlugisServiceIntf Integration

For NATS services, see:

Files

The plugisservice.go file defines the PlugisServiceIntf interface, which specifies the contract that all plugis services must implement.

The plugis.go file defines the PlugisIntf interface, which specifies the functions provided by plugis

The example/echoService/echoService.go file is a minimal service implementation sample.

The example/echoService/cmd/main.go file is a sample of ServiceRunner usage.

How to declare a service