service

package
v2.9.2-0...-41e71c7 Latest Latest
Warning

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

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

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

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