servicediscovery

package
v0.0.0-...-ff909ee Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EruServiceDiscovery

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

EruServiceDiscovery watches eru service status

func New

func New(endpoint string, authConfig types.AuthConfig) *EruServiceDiscovery

New EruServiceDiscovery

func (*EruServiceDiscovery) Watch

func (w *EruServiceDiscovery) Watch(ctx context.Context) (_ <-chan []string, err error)

Watch .

type LBResolverBuilder

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

LBResolverBuilder for service discovery lb

func (*LBResolverBuilder) Build

Build for interface

func (*LBResolverBuilder) Scheme

func (b *LBResolverBuilder) Scheme() string

Scheme for interface

type ServiceDiscovery

type ServiceDiscovery interface {
	Watch(context.Context) (<-chan []string, error)
}

ServiceDiscovery notifies current core service addresses

Jump to

Keyboard shortcuts

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