grpc

package
v0.0.0-...-7a90bdf Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is type of gRpc server

func (*Server) GetGrpcServer

func (svr *Server) GetGrpcServer() *grpc.Server

GetGrpcServer returns a gRpc server

func (*Server) GetListener

func (svr *Server) GetListener() net.Listener

GetListener returns a listener

func (*Server) RunGrpcServer

func (svr *Server) RunGrpcServer(ctx context.Context, grpcPort string) error

RunGrpcServer starts gRpc server

Jump to

Keyboard shortcuts

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