serve

package
v0.0.0-...-2e41b90 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0, Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActionRequiredTxApprovalResponse

func NewActionRequiredTxApprovalResponse(message, actionURL string, actionFields []string) *txApprovalResponse

func NewPendingTxApprovalResponse

func NewPendingTxApprovalResponse(message string) *txApprovalResponse

func NewRejectedTxApprovalResponse

func NewRejectedTxApprovalResponse(errMessage string) *txApprovalResponse

func NewRevisedTxApprovalResponse

func NewRevisedTxApprovalResponse(tx string) *txApprovalResponse

func NewSuccessTxApprovalResponse

func NewSuccessTxApprovalResponse(tx, message string) *txApprovalResponse

func Serve

func Serve(opts Options)

Types

type Options

type Options struct {
	AssetCode                         string
	BaseURL                           string
	DatabaseURL                       string
	FriendbotPaymentAmount            int
	HorizonURL                        string
	IssuerAccountSecret               string
	KYCRequiredPaymentAmountThreshold string
	NetworkPassphrase                 string
	Port                              int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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