resolver

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultNacosResolver

func NewDefaultNacosResolver(opts ...Option) (discovery.Resolver, error)

NewDefaultNacosResolver create a default service resolver using nacos.

func NewNacosResolver

func NewNacosResolver(cli naming_client.INamingClient, opts ...Option) discovery.Resolver

NewNacosResolver create a service resolver 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