client

package
v0.0.0-...-48b9d42 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountClient

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

AccountClient is a remote client that implements customer.Interface

func NewAccountClient

func NewAccountClient(tracer opentracing.Tracer, logger logrus.FieldLogger, accountURL string) *AccountClient

NewAccountClient creates a new customer.AccountClient

func (*AccountClient) GetAccount

func (c *AccountClient) GetAccount(ctx context.Context, id string) (*internal.Account, error)

Get implements customer.Interface#Get as an RPC

Jump to

Keyboard shortcuts

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