grpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

gRPC Service

A simplified experience for building gRPC services.

Overview

The gRPC service makes use of go-micro plugins to create a simpler framework for gRPC development. It interoperates with standard gRPC services seamlessly, including the grpc-gateway. The grpc service uses the go-micro broker, client and server plugins which make use of github.com/grpc/grpc-go internally. This means we ignore the go-micro codec and transport but provide a native grpc experience.

Features

  • Service Discovery - We make use of go-micro's registry and selector interfaces to provide pluggable discovery and client side load balancing. There's no need to dial connections, we'll do everything beneath the covers for you.

  • PubSub Messaging - Where gRPC only provides you synchronous communication, the gRPC service uses the go-micro broker to provide asynchronous messaging while using the gRPC protocol.

  • Micro Ecosystem - Make use of the existing micro ecosystem of tooling including our api gateway, web dashboard, command line interface and much more. We're enhancing gRPC with a simplified experience using micro.

I18n

中文

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFunction

func NewFunction(opts ...stack.Option) stack.Function

NewFunction returns a grpc service compatible with stack-rpc.Function

func NewService

func NewService(opts ...stack.Option) stack.Service

NewService returns a grpc service compatible with stack-rpc.Service

func WithTLS

func WithTLS(t *tls.Config) stack.Option

WithTLS sets the TLS config for the service

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