grpc

package
v0.0.0-...-4bf24a4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(srvName string) *grpc.ClientConn

func Serve

func Serve(opts ...SetOption) error

Types

type SetOption

type SetOption func(*grpcServerOption)

func RegisterOption

func RegisterOption(grpcOpts []grpc.ServerOption) SetOption

func RegisterService

func RegisterService(srvSet SetService) SetOption

func ServiceName

func ServiceName(name string) SetOption

type SetService

type SetService func(srv *grpc.Server)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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