grpcx

package
v2.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 16 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcServer

type GrpcServer struct {
	*grpc.Server
	// contains filtered or unexported fields
}

func NewEmptyGrpcServer added in v2.1.5

func NewEmptyGrpcServer() *GrpcServer

func NewGrpcServer

func NewGrpcServer(opt ...grpc.ServerOption) *GrpcServer

func NewGrpcServerWithData

func NewGrpcServerWithData(data map[string]interface{}, opt ...grpc.ServerOption) *GrpcServer

func (*GrpcServer) Run

func (srv *GrpcServer) Run()

Run runs grpc server

func (*GrpcServer) RunWithPipe added in v2.1.5

func (srv *GrpcServer) RunWithPipe(pipe net.Listener)

RunWithPipe runs grpc server

func (*GrpcServer) Serve added in v2.2.5

func (srv *GrpcServer) Serve(ln net.Listener)

func (*GrpcServer) ServeWithPipe added in v2.2.5

func (srv *GrpcServer) ServeWithPipe(ln net.Listener, pipe net.Listener)

Directories

Path Synopsis
interceptors

Jump to

Keyboard shortcuts

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