grpcserver

package
v2.468.9 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGRPCServer

func InitGRPCServer(workers *run.Group, opts *GRPCOpts) (*grpc.Server, *grpcgw.ServeMux, []grpcutil.Listener, error)

Types

type GRPCOpts

type GRPCOpts struct {
	Logger                   *zap.Logger
	AuthPublicKey            string
	AuthSecret               string
	Listeners                string
	ServiceID                string
	KeepExistingGlobalLogger bool
}

Jump to

Keyboard shortcuts

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