server

package
v0.0.0-...-4b4a10f Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcServer

type GrpcServer struct {
	Grpc   *grpc.Server
	Config *config.GrpcConfig
	Log    logger.ILogger
}

func NewGrpcServer

func NewGrpcServer(log logger.ILogger, config *config.GrpcConfig) *GrpcServer

func (*GrpcServer) RunGrpcServer

func (s *GrpcServer) RunGrpcServer(ctx context.Context, configGrpc ...func(grpcServer *grpc.Server)) error

Jump to

Keyboard shortcuts

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