rpc

package
v0.0.0-...-ad531c1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 7 Imported by: 2

Documentation

Overview

@Author: Hexiaoming 2023/2/18

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RelationServiceClient

type RelationServiceClient struct {
	// contains filtered or unexported fields
}

func NewRelationServiceClientFromCfg

func NewRelationServiceClientFromCfg() (*RelationServiceClient, error)

从配置文件读取注册中心配置

func NewRelationServiceClientFromEnv

func NewRelationServiceClientFromEnv() (*RelationServiceClient, error)

从环境变量读取注册中心配置

func (*RelationServiceClient) RelationService

func (c *RelationServiceClient) RelationService() relation.ServiceClient

Jump to

Keyboard shortcuts

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