grpc

package
v1.43.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServiceClient

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

NewServiceClient for gRPC.

Types

type ServiceClientParams

type ServiceClientParams struct {
	fx.In

	Lifecycle    fx.Lifecycle
	GRPCConfig   *grpc.Config
	TokenConfig  *t.Config
	ClientConfig *v1c.Config
	Logger       *zap.Logger
	Tracer       tracer.Tracer
	Meter        metric.Meter
	Token        *client.Token
}

ServiceClientParams for gRPC.

Jump to

Keyboard shortcuts

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