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.
Click to show internal directories.
Click to hide internal directories.