resolver_consul

package module
v0.0.0-...-fbff271 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolver

func NewResolver(runtime runtime.Runtime, opts ...resolver.Option) resolver.Resolver

func WithCache

func WithCache(cache bool) resolver.Option

func WithEndpoint

func WithEndpoint(endpoint string) resolver.Option

Types

type Options

type Options struct {
	Address string
}

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func (*Resolver) Lookup

func (c *Resolver) Lookup(service string, opts ...resolver.LookupOption) (route.List, error)

func (*Resolver) OnStart

func (c *Resolver) OnStart(_ context.Context) error

func (*Resolver) Scheme

func (c *Resolver) Scheme() string

func (*Resolver) Table

func (c *Resolver) Table() resolver.Table

Jump to

Keyboard shortcuts

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