discovery

package
v0.0.0-...-53d8ad0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func (*Service) Deregister

func (s *Service) Deregister(ctx context.Context, service_id string) error

func (*Service) Lookup

func (s *Service) Lookup(ctx context.Context, service string) ([]*apiv1.Service, error)

func (*Service) Register

func (s *Service) Register(ctx context.Context, service *apiv1.Service) error

func (*Service) Start

func (s *Service) Start(ctx context.Context, addr string, creds credentials.TransportCredentials) error

Jump to

Keyboard shortcuts

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