grpc

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

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

Go to latest
Published: Dec 19, 2017 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Package grpc provides support for Remote Procedure Call server based on gRPC library.

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 represents RPC server based on gRPC library

func NewServer

func NewServer() *Server

NewServer creates instance of RPC server which is based on gRPC library.

func (*Server) Dispose

func (rpc *Server) Dispose()

Dispose stops server and cleans up RPC server instance

func (*Server) Start

func (rpc *Server) Start(s quark.RPCService)

Start registers and starts service in RPC server.

func (*Server) Stop

func (rpc *Server) Stop()

Stop stops RPC server.

Directories

Path Synopsis
Package service is a generated protocol buffer package.
Package service is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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