grpc

package module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

README

Micro gRPC License GoDoc Travis CI Go Report Card

A micro gRPC framework. A simplified experience for building gRPC services.

Overview

Go gRPC 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 go-grpc library uses the go-micro client and server plugins which make use of github.com/grpc/grpc-go. This means we ignore the go-micro codec and transport but you get a native grpc experience.

Examples

Find an example greeter service in examples/greeter.

Getting Started

See the docs to get started.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFunction

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

NewFunction returns a grpc service compatible with go-micro.Function

func NewService

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

NewService returns a grpc service compatible with go-micro.Service

func WithTLS added in v0.2.0

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

WithTLS sets the TLS config for the service

Types

This section is empty.

Directories

Path Synopsis
cmd
examples
greeter/function/proto/hello
Package go_micro_srv_greeter is a generated protocol buffer package.
Package go_micro_srv_greeter is a generated protocol buffer package.
greeter/gateway/proto/hello
Package greeter is a generated protocol buffer package.
Package greeter is a generated protocol buffer package.
greeter/server/proto/hello
Package go_micro_srv_greeter is a generated protocol buffer package.
Package go_micro_srv_greeter is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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