pay

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: ISC Imports: 3 Imported by: 1

Documentation

Overview

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

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

func NewPayId

func NewPayId(packed [][]byte) PayId

create a payment identifier from a set of transactions

func (PayId) GoString

func (payid PayId) GoString() string

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)

convert pay id to hex text

func (PayId) String

func (payid PayId) 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

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