paymailaddress

package
v1.0.0-beta.40 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	HasPaymailAddress(ctx context.Context, xPubID string, address string) (bool, error)
	GetDefaultPaymailAddress(ctx context.Context, xPubID string) (string, error)
}

Service is a component that provides methods for working with paymail address.

func NewService

func NewService(
	getXPubIDByPaymailAddress func(ctx context.Context, paymailAddress string) (string, error),
	getPaymailAddressesByXPubIDOrderByCreatedAsc func(ctx context.Context, xPubId string) ([]string, error),
) Service

NewService creates a new paymail address service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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