Registry / other / micro-go-plugins

micro-go-plugins

JSON →
library3.0.0+incompatiblegogounverified

Package plugin provides the ability to load plugins for the Micro service framework.

go get github.com/micro/go-plugins
INSTALL
IMPORT
SIG · MICRO-GO-PLUGINS
M
micro-go-plugins
othergov3.0.0+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

plugins
github.com/micro/go-plugins

Use an etcd registry plugin with a Micro service.

package main import ( "github.com/micro/go-micro/v2" "github.com/micro/go-plugins/registry/etcdv3" ) func main() { service := micro.NewService( micro.Name("my.service"), micro.Registry(etcdv3.NewRegistry()), ) service.Init() service.Run() }
Debug
Known issues
breakingThis package is for the legacy Micro v2 framework; Micro v3 has a different plugin system.
fix
Use github.com/micro/micro/v3 or github.com/micro/go-micro/v3 for new projects.
affects: >=3.0.0
Upgrade
Version history
3.0.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
micro-go-plugins — go get micro-go-plugins · libregistry