grpc

package
v1.41.55 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServiceClient added in v1.15.7

func NewServiceClient(params ServiceClientParams) (v1.ServiceClient, error)

NewServiceClient for gRPC.

Types

type ServiceClientParams added in v1.15.7

type ServiceClientParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *sgrpc.Config
	Logger    *zap.Logger
	Tracer    otel.Tracer
	Client    *config.Config
	Metrics   *prometheus.ClientMetrics
}

ServiceClientParams for gRPC.

Jump to

Keyboard shortcuts

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