package
1.8.5
Repository: https://github.com/alexapps/go-micro.git
Documentation: pkg.go.dev

# README

GRPC Client

The grpc client is a micro.Client compatible client.

Overview

The client makes use of the google.golang.org/grpc framework for the underlying communication mechanism.

Usage

Specify the client to your micro service

import (
	"github.com/micro/go-micro"
	"github.com/micro/go-plugins/client/grpc"
)

func main() {
	service := micro.NewService(
		micro.Name("greeter"),
		micro.Client(grpc.NewClient()),
	)
}

# Functions

AuthTLS should be used to setup a secure authentication using TLS.
gRPC Codec to be used to encode/decode requests for a given content type.
MaxRecvMsgSize set the maximum size of message that client can receive.
MaxSendMsgSize set the maximum size of message that client can send.
No description provided by the author
UseNumber fix unmarshal Number(8234567890123456789) to interface(8.234567890123457e+18).

# Variables

DefaultMaxRecvMsgSize maximum message that client can receive (4 MB).
DefaultMaxSendMsgSize maximum message that client can send (4 MB).