service

package
v3.0.0-rc3+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// The default service name
	DefaultService = "go.micro.registry"
)

Functions

func NewRegistry

func NewRegistry(opts ...registry.Option) registry.Registry

NewRegistry returns a new registry service client

func ToProto

func ToProto(s *registry.Service) *pb.Service

func ToService

func ToService(s *pb.Service) *registry.Service

func WithClient

func WithClient(c client.Client) registry.Option

WithClient sets the RPC client

Types

This section is empty.

Jump to

Keyboard shortcuts

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