http

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: ISC Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHeaderSVConnection

func NewHeaderSVConnection(client data.Client, host string) bc.BlockHeaderChain

NewHeaderSVConnection returns a bc.BlockHeaderChain using a header client.

Types

type P4 added in v0.0.2

type P4 interface {
	PaymentRequest(ctx context.Context, req payd.PayRequest) (*p4.PaymentRequest, error)
	PaymentSend(ctx context.Context, args payd.PayRequest, req p4.Payment) (*p4.PaymentACK, error)
}

P4 interfaces interactions with a p4 server.

func NewP4 added in v0.0.2

func NewP4(c data.Client) P4

NewP4 returns a new p4 interface.

Jump to

Keyboard shortcuts

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