go-micro: github.com/micro/go-micro/registry/service Index | Files | Directories

package service

import "github.com/micro/go-micro/registry/service"

Package service uses the registry service

Index

Package Files

options.go service.go util.go watcher.go

Variables

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

func NewRegistry Uses

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

NewRegistry returns a new registry service client

func ToProto Uses

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

func ToService Uses

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

func WithClient Uses

func WithClient(c client.Client) registry.Option

WithClient sets the RPC client

Directories

PathSynopsis
proto

Package service imports 7 packages (graph) and is imported by 5 packages. Updated 2020-07-04. Refresh now. Tools for package owners.