resolver

package
v0.0.0-...-f43ee00 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultSCResolver

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

func NewSCResolver

func NewSCResolver(cli *sc.Client, opts ...Option) discovery.Resolver

Types

type Option

type Option func(o *options)

Option is service-comb resolver option.

func WithAppId

func WithAppId(appId string) Option

WithAppId with appId option.

func WithConsumerId

func WithConsumerId(consumerId string) Option

WithConsumerId with consumerId option.

func WithVersionRule

func WithVersionRule(versionRule string) Option

WithVersionRule with versionRule option.

Jump to

Keyboard shortcuts

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