rpcs

package
v0.0.0-...-ccbf6ad Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerInterceptor

func ServerInterceptor() grpc.ServerOption

It's like a middleware for gRPC.

func ServerUnknown

func ServerUnknown() grpc.ServerOption

Types

type RpcServer

type RpcServer struct {
	Grpc        *grpc.Server
	WrappedGrpc *grpcweb.WrappedGrpcServer
}

func NewServer

func NewServer() *RpcServer

Jump to

Keyboard shortcuts

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