server

package
v0.0.0-...-47cfc89 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(di DI) (*sdkgrpc.Server, error)

NewServer initialises the gRPC server.

Types

type DI

type DI struct {
	Config                                        config.AppConfig
	Logger                                        *logger.Logger
	TracerProvider                                *tracer.Provider
	TracerProviderShutdownHandler, PreRunCallback func() error
	Interceptors                                  []grpc.UnaryServerInterceptor
}

DI is the Dependency Injection entity for NewServer

Jump to

Keyboard shortcuts

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