grpc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MPL-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package grpc implements gRPC server.

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 implements grpc server.

func New

func New(ctx context.Context, mux *http.ServeMux) (*Server, error)

New creates new grpc server and registers all routes.

func (*Server) Shutdown

func (s *Server) Shutdown()

Shutdown waits until the grpc server is stopped.

Directories

Path Synopsis
Package router defines gRPC proxy helpers.
Package router defines gRPC proxy helpers.

Jump to

Keyboard shortcuts

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