payer

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package payer implements the Payer API service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientManager added in v0.1.1

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

func NewClientManager added in v0.1.1

func NewClientManager(
	logger *zap.Logger,
	nodeRegistry registry.NodeRegistry,
	clientMetrics *grpcprom.ClientMetrics,
) *ClientManager

func (*ClientManager) GetClientConnection added in v1.0.0

func (c *ClientManager) GetClientConnection(nodeID uint32) (*grpc.ClientConn, error)

type Service

type Service struct {
	payer_apiconnect.UnimplementedPayerApiHandler
	// contains filtered or unexported fields
}

func NewPayerAPIService added in v0.5.1

func NewPayerAPIService(
	ctx context.Context,
	logger *zap.Logger,
	nodeRegistry registry.NodeRegistry,
	payerPrivateKey *ecdsa.PrivateKey,
	blockchainPublisher blockchain.IBlockchainPublisher,
	clientMetrics *grpcprom.ClientMetrics,
	maxPayerMessageSize uint64,
	nodeSelector selectors.NodeSelectorAlgorithm,
) (*Service, error)

func (*Service) GetNodes added in v1.0.0

GetNodes returns the complete endpoint list of canonical nodes.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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