grpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcServer

type GrpcServer struct {
	// contains filtered or unexported fields
}

func New

func New(o *option.MsOptions) *GrpcServer

func (*GrpcServer) Serve

func (g *GrpcServer) Serve(l net.Listener) error

Serve runs gRPC service

func (*GrpcServer) Shutdown

func (g *GrpcServer) Shutdown(ctx context.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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