registry

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package registry implements a service registry server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface added in v0.15.0

type Interface interface {
	registrypb.RegistryServer
	io.Closer
}

Interface is a registry implementation.

type Reporter

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

Reporter periodically submits a list of services available on this instance to the service registry

func NewReporter added in v0.15.6

func NewReporter() *Reporter

NewReporter creates a new Reporter.

func (*Reporter) OnConfigChange

func (r *Reporter) OnConfigChange(ctx context.Context, cfg *config.Config)

OnConfigChange applies configuration changes to the reporter

Directories

Path Synopsis
Package inmemory implements an in-memory registry.
Package inmemory implements an in-memory registry.
Package redis implements a registry in redis.
Package redis implements a registry in redis.
lua
Package lua contains lua source code.
Package lua contains lua source code.

Jump to

Keyboard shortcuts

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