client

package
v0.0.0-...-7706d81 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToGRPCService

func ConnectToGRPCService(cfg config.Service) *grpc.ClientConn

Creating a new gRPC client connection to specified service.

Types

type Client

type Client struct{ Email EmailClient }

Client structure.

func NewClient

func NewClient(cfg config.ServiceConfig) *Client

Creating a new client.

func (*Client) Close

func (c *Client) Close()

Closing a client connections.

type EmailClient

type EmailClient struct {
	User v1.EmailUserServiceClient
	// contains filtered or unexported fields
}

Email client structure.

Jump to

Keyboard shortcuts

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