service

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 11

Documentation

Overview

Package service uses the registry service

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 added in v2.7.0

func WithClient(c client.Client) registry.Option

WithClient sets the RPC client

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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