discovery

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package discovery implements the service discovery.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceRepo

type ServiceRepo interface {
	NodeID() string
	Name() string
	run.Unit
	bus.Subscriber
	bus.Publisher
	run.Service
}

ServiceRepo provides service subscripting and publishing.

func NewServiceRepo

func NewServiceRepo(_ context.Context) (ServiceRepo, error)

NewServiceRepo return a new ServiceRepo.

Jump to

Keyboard shortcuts

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