Registry / networking / go-micro-plugins-v4-registry-consul

go-micro-plugins-v4-registry-consul

JSON →
library1.2.1gogounverified

A Consul-based registry plugin for the Go Micro framework.

go get github.com/go-micro/plugins/v4/registry/consul
INSTALL
IMPORT
SIG · GO-MICRO-PLUGINS-V
G
go-micro-plugins-v4-registry-consul
networkinggov1.2.1
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.

consul
github.com/go-micro/plugins/v4/registry/consul

Create a Go Micro service using Consul for service discovery.

package main import ( "github.com/go-micro/plugins/v4/registry/consul" "go-micro.dev/v4" ) func main() { reg := consul.NewRegistry() service := micro.NewService( micro.Registry(reg), ) service.Init() service.Run() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
go-micro-plugins-v4-registry-consul — go get go-micro-plugins-v4-registry-consul · libregistry