nacos

package module
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

README

go-plugins-micro-registry-nacos

micro plugins registry nacos

针对 go-micro naocs 插件 ,没有命名空间的整改

官方 模块地址 github.com/micro/go-plugins/registry/nacos/v2

说明

增加 命名空间

使用

go get github.com/liangzibo/go-plugins-micro-registry-nacos/v2

案例

https://github.com/foxiswho/go-micro-nacos-demo

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNacosWatcher

func NewNacosWatcher(nr *nacosRegistry, opts ...registry.WatchOption) (registry.Watcher, error)

func NewRegistry

func NewRegistry(opts ...registry.Option) registry.Registry

func SetNamespaceId

func SetNamespaceId(namespaceId string)

赋值

func WebRegistry

func WebRegistry(r registry.Registry) web.Option

Registry used for discovery

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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