discovery

package
v0.0.0-...-ee7ecfe Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

基于本地配置的服务发现(no wathing) FIXME 可以使用第三方服务发现快速替换本服务

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetService

func GetService(service string) *grpc.ClientConn

获取一个服务

func GetServiceNames

func GetServiceNames() map[string]bool

获取所有服务名

func GetServices

func GetServices() map[string]*grpc.ClientConn

获取所有服务

func Init

func Init(path string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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