grpc

package
v1.12.10 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(client v1.ConfiguratorServiceClient, cfg *client.Config, logger *zap.Logger) task.Client

NewClient for gRPC.

func Register

func Register(lc fx.Lifecycle, params RegisterParams)

Register client.

Types

type RegisterParams

type RegisterParams struct {
	fx.In

	Config *tgrpc.Config
	Logger *zap.Logger
	Client *client.Config
}

RegisterParams for gRPC.

Directories

Path Synopsis
logger
zap
trace

Jump to

Keyboard shortcuts

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