grpc

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGrpcServer

func CreateGrpcServer(cfg *configv1.Bootstrap, mds ...middleware.Middleware) (*grpc.Server, error)

CreateGrpcServer 创建 GRPC 服务端。

func CreateGrpcServerWithOptions added in v0.0.5

func CreateGrpcServerWithOptions(cfg *configv1.Bootstrap, opts []grpc.ServerOption, mds ...middleware.Middleware) (*grpc.Server, error)

CreateGrpcServerWithOptions 保留配置与中间件组装,并追加当前应用的传输拦截器等实例选项。

Types

This section is empty.

Directories

Path Synopsis
middleware

Jump to

Keyboard shortcuts

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