grpc

package
v0.0.0-...-3495602 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewUserClient

func NewUserClient(ctx context.Context,
	addr string,
	timeout time.Duration,
	retriesCount uint,
	log *slog.Logger,
) (*Client, error)

func (*Client) GetUser

func (c *Client) GetUser(ctx context.Context, id uuid.UUID) (*userv1.GetUserResponse, error)

func (*Client) Health

func (c *Client) Health(ctx context.Context) error

Jump to

Keyboard shortcuts

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