package
0.17.1
Repository: https://github.com/protocolone/go-plugins.git
Documentation: pkg.go.dev

# README

GRPC Client

The grpc client is a micro.Client compatible client.

Overview

The client makes use of the github.com/grpc/grpc-go 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.
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).