grpcclientutils

package
v0.0.0-...-d2a8444 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideUserServiceClient

func ProvideUserServiceClient(
	lc fx.Lifecycle,
	cfg *UserServiceClientConfig,
) (protos.UserServiceClient, error)

Provides user Client

Types

type UserServiceClientConfig

type UserServiceClientConfig struct {
	UserServiceAddress string `mapstructure:"USER_SERVICE_ADDRESS"`
}

func ProvideUserServiceClientConfig

func ProvideUserServiceClientConfig(cl *utils.ConfigLocation) (*UserServiceClientConfig, error)

Jump to

Keyboard shortcuts

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