service

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: GPL-2.0 Imports: 21 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ at3.net.
  • name : restful_client.go
  • author : jarryliu
  • date : 2016-11-13 12:32
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdvertisementServiceClient

func AdvertisementServiceClient() (*grpc.ClientConn, proto.AdvertisementServiceClient, error)

AdvertisementServiceClient 广告服务

func AfterSalesServiceClient

func AfterSalesServiceClient() (*grpc.ClientConn, proto.AfterSalesServiceClient, error)

AfterSalesServiceClient 售后服务

func AppServiceClient

func AppServiceClient() (*grpc.ClientConn, proto.AppServiceClient, error)

AppServiceClient APP服务

func CartServiceClient

func CartServiceClient() (*grpc.ClientConn, proto.CartServiceClient, error)

CartServiceClient 购物车服务

func ConfigureClient

func ConfigureClient(c *clientv3.Config, defaultAddr string)

ConfigureClient 设置RPC地址,defaultAddr为默认地址,当未指定clientv3.Config时使用

func ContentServiceClient

func ContentServiceClient() (*grpc.ClientConn, proto.ContentServiceClient, error)

ContentServiceClient 消息客户端

func ExecutionServiceClient added in v0.4.10

func ExecutionServiceClient() (*grpc.ClientConn, proto.ExecutionServiceClient, error)

ExecutionServiceClient 任务执行服务

func ExpressServiceClient

func ExpressServiceClient() (*grpc.ClientConn, proto.ExpressServiceClient, error)

ExpressServiceClient 快递服务

func FinanceServiceClient

func FinanceServiceClient() (*grpc.ClientConn, proto.FinanceServiceClient, error)

FinanceServiceClient 财务服务

func FoundationServiceClient

func FoundationServiceClient() (*grpc.ClientConn, proto.FoundationServiceClient, error)

FoundationServiceClient 基础服务

func ItemServiceClient

func ItemServiceClient() (*grpc.ClientConn, proto.ItemServiceClient, error)

ItemServiceClient 商品服务

func MemberServiceClient

func MemberServiceClient() (*grpc.ClientConn, proto.MemberServiceClient, error)

MemberServiceClient 会员客户端

func MerchantServiceClient

func MerchantServiceClient() (*grpc.ClientConn, proto.MerchantServiceClient, error)

MerchantServiceClient 商户客户端

func MessageServiceClient

func MessageServiceClient() (*grpc.ClientConn, proto.MessageServiceClient, error)

MessageServiceClient 消息客户端

func OrderServiceClient

func OrderServiceClient() (*grpc.ClientConn, proto.OrderServiceClient, error)

OrderServiceClient 订单服务

func PaymentServiceClient

func PaymentServiceClient() (*grpc.ClientConn, proto.PaymentServiceClient, error)

PaymentServiceClient 支付服务

func PortalServiceClient

func PortalServiceClient() (*grpc.ClientConn, proto.PortalServiceClient, error)

PortalServiceClient 门户服务

func ProductServiceClient

func ProductServiceClient() (*grpc.ClientConn, proto.ProductServiceClient, error)

ProductServiceClient 产品服务

func QueryServiceClient

func QueryServiceClient() (*grpc.ClientConn, proto.QueryServiceClient, error)

QueryServiceClient 查询服务

func QuickPaymentServiceClient

func QuickPaymentServiceClient() (*grpc.ClientConn, proto.QuickPayServiceClient, error)

QuickPaymentServiceClient 快捷支付服务

func RbacServiceClient

func RbacServiceClient() (*grpc.ClientConn, proto.RbacServiceClient, error)

RbacServiceClient RBAC服务

func RegisterServiceDiscovery added in v0.4.10

func RegisterServiceDiscovery(cfg *clientv3.Config, host string, port int)

RegisterServiceDiscovery 注册服务发现

func RegistryServiceClient

func RegistryServiceClient() (*grpc.ClientConn, proto.RegistryServiceClient, error)

RegistryServiceClient 基础服务

func ServeRPC

func ServeRPC(ch chan bool, cfg *clientv3.Config, port int)

func ShipmentServiceClient

func ShipmentServiceClient() (*grpc.ClientConn, proto.ShipmentServiceClient, error)

ShipmentServiceClient 物流服务

func ShopServiceClient

func ShopServiceClient() (*grpc.ClientConn, proto.ShopServiceClient, error)

ShopServiceClient 商店服务

func StatusServiceClient

func StatusServiceClient() (*grpc.ClientConn, proto.StatusServiceClient, error)

StatusServiceClient 状态客户端

func WalletClient

func WalletClient() (*grpc.ClientConn, proto.WalletServiceClient, error)

WalletClient 钱包服务

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