pay

package
v0.15.6 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: ISC Imports: 3 Imported by: 1

Documentation

Overview

Package pay - miscellaneous type for payment

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PayId

type PayId [48]byte

PayId - type to represent a payment identifier Note: no reversal is required for this

func NewPayId

func NewPayId(packed [][]byte) PayId

NewPayId - create a payment identifier from a set of transactions

func (PayId) GoString

func (payid PayId) GoString() string

GoString - convert a binary pay id to hex string for use by the fmt package (for %#v)

func (PayId) MarshalText

func (payid PayId) MarshalText() ([]byte, error)

MarshalText - convert pay id to hex text

func (PayId) String

func (payid PayId) String() string

String - convert a binary pay id to hex string for use by the fmt package (for %s)

func (*PayId) UnmarshalText

func (payid *PayId) UnmarshalText(s []byte) error

UnmarshalText - convert hex text into a pay id

Jump to

Keyboard shortcuts

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