registry

package
v2.0.0-...-829d287 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultNacosRegistry

func NewDefaultNacosRegistry(opts ...Option) (registry.Registry, error)

NewDefaultNacosRegistry create a default service registry using nacos.

func NewNacosRegistry

func NewNacosRegistry(cli naming_client.INamingClient, opts ...Option) registry.Registry

NewNacosRegistry create a new registry using nacos.

Types

type Option

type Option func(o *options)

Option is nacos option.

func WithCluster

func WithCluster(cluster string) Option

WithCluster with cluster option.

func WithGroup

func WithGroup(group string) Option

WithGroup with group option.

Jump to

Keyboard shortcuts

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