data

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 10 Imported by: 1

README

Rippled Data

Example files are stored in this folder.

Rebuild bindata.go with the following command:

$ go-bindata -pkg data -ignore '(go|md|mod|sum)$' .

Documentation

Overview

Code generated for package data by go-bindata DO NOT EDIT. (@generated) sources: method.account.account_channels.commandline.response.json method.account.account_channels.jsonrpc.request.json method.account.account_channels.jsonrpc.response.error-missing-account.json method.account.account_channels.jsonrpc.response.json method.account.account_channels.websocket.request.json method.account.account_channels.websocket.response.json method.account.account_currencies.commandline.response.json method.account.account_currencies.jsonrpc.request.json method.account.account_currencies.jsonrpc.response.json method.account.account_currencies.websocket.request.json method.account.account_currencies.websocket.response.json method.account.account_info.commandline.response.json method.account.account_info.jsonrpc.request.json method.account.account_info.jsonrpc.response.json method.account.account_info.websocket.request.json method.account.account_info.websocket.response.json method.account.account_lines.commandline.response.json method.account.account_lines.jsonrpc.request.json method.account.account_lines.jsonrpc.response.json method.account.account_lines.websocket.request.json method.account.account_lines.websocket.response.json method.account.account_offers.jsonrpc.request.json method.account.account_offers.jsonrpc.response.json method.account.account_offers.websocket.request.json method.account.account_offers.websocket.response.json method.account.account_tx.jsonrpc.request.json method.account.account_tx.jsonrpc.response.json method.account.account_tx.websocket.request.json method.account.account_tx.websocket.response.json method.account.gateway_balances.jsonrpc.request.json method.account.gateway_balances.jsonrpc.response.json method.account.gateway_balances.websocket.request.json method.account.gateway_balances.websocket.response.json method.account.noripple_check.jsonrpc.request.json method.account.noripple_check.jsonrpc.response.json method.account.noripple_check.websocket.request.json method.account.noripple_check.websocket.response.json method.admin.key_generation.validation_create.commandline.response.json method.admin.key_generation.validation_create.jsonrpc.request.json method.admin.key_generation.validation_create.jsonrpc.response.json method.admin.key_generation.validation_create.websocket.request.json method.admin.key_generation.wallet_propose-key_type.jsonrpc.request.json method.admin.key_generation.wallet_propose-key_type.websocket.request.json method.admin.key_generation.wallet_propose-passphrase.jsonrpc.request.json method.admin.key_generation.wallet_propose-passphrase.websocket.request.json method.admin.status_and_debugging.consensus_info.jsonrpc.request.json method.admin.status_and_debugging.consensus_info.jsonrpc.response.json method.admin.status_and_debugging.consensus_info.websocket.request.json method.admin.status_and_debugging.feature-list_all.websocket.request.json method.admin.status_and_debugging.feature-list_all.websocket.response.json method.admin.status_and_debugging.feature-reject.websocket.request.json method.admin.status_and_debugging.feature-reject.websocket.response.json method.admin.status_and_debugging.feature.jsonrpc.request.json method.admin.status_and_debugging.feature.jsonrpc.response.json method.admin.status_and_debugging.fetch_info.jsonrpc.request.json method.admin.status_and_debugging.fetch_info.jsonrpc.response.json method.admin.status_and_debugging.fetch_info.websocket.request.json method.admin.status_and_debugging.get_counts.jsonrpc.request.json method.admin.status_and_debugging.get_counts.jsonrpc.response.json method.admin.status_and_debugging.get_counts.websocket.request.json method.admin.status_and_debugging.print.websocket.request.json method.admin.status_and_debugging.print.websocket.response.json method.admin.status_and_debugging.validator_info.jsonrpc.request.json method.admin.status_and_debugging.validator_info.jsonrpc.response.json method.admin.status_and_debugging.validator_info.websocket.request.json method.admin.status_and_debugging.validator_info.websocket.response.json method.admin.status_and_debugging.validator_list_sites.jsonrpc.request.json method.admin.status_and_debugging.validator_list_sites.jsonrpc.response.json method.admin.status_and_debugging.validator_list_sites.websocket.request.json method.admin.status_and_debugging.validator_list_sites.websocket.response.json method.admin.status_and_debugging.validators.jsonrpc.request.json method.admin.status_and_debugging.validators.jsonrpc.response.json method.admin.status_and_debugging.validators.websocket.request.json method.admin.status_and_debugging.validators.websocket.response.json method.ledger.ledger.commandline.response.json method.ledger.ledger.jsonrpc.request.json method.ledger.ledger.jsonrpc.response.json method.ledger.ledger.websocket.request.json method.ledger.ledger.websocket.response.json method.ledger.ledger_closed.commandline.response.json method.ledger.ledger_closed.jsonrpc.request.json method.ledger.ledger_closed.jsonrpc.response.json method.ledger.ledger_closed.websocket.request.json method.ledger.ledger_closed.websocket.response.json method.ledger.ledger_current.commandline.response.json method.ledger.ledger_current.jsonrpc.request.json method.ledger.ledger_current.jsonrpc.response.json method.ledger.ledger_current.websocket.request.json method.ledger.ledger_current.websocket.response.json method.ledger.ledger_data.jsonrpc.request.error-not-found.json method.ledger.ledger_data.jsonrpc.request.json method.ledger.ledger_data.jsonrpc.response.binary-true.json method.ledger.ledger_data.jsonrpc.response.error-not-found.json method.ledger.ledger_data.jsonrpc.response.json method.ledger.ledger_data.websocket.request.json method.ledger.ledger_data.websocket.response.binary-false.json method.ledger.ledger_data.websocket.response.binary-true.json method.ledger.ledger_entry-account_root.jsonrpc.request.json method.ledger.ledger_entry-account_root.websocket.request.json method.ledger.ledger_entry-check.jsonrpc.request.json method.ledger.ledger_entry-check.websocket.request.json method.ledger.ledger_entry-deposit_preauth.jsonrpc.request.json method.ledger.ledger_entry-deposit_preauth.websocket.request.json method.ledger.ledger_entry-directory.jsonrpc.request.json method.ledger.ledger_entry-directory.websocket.request.json method.ledger.ledger_entry-escrow.jsonrpc.request.json method.ledger.ledger_entry-escrow.jsonrpc.response.error-malformedRequest.json method.ledger.ledger_entry-escrow.websocket.request.json method.ledger.ledger_entry-escrow.websocket.response.json method.ledger.ledger_entry-index.jsonrpc.request.json method.ledger.ledger_entry-index.websocket.request.json method.ledger.ledger_entry-offer.jsonrpc.request.json method.ledger.ledger_entry-offer.websocket.request.json method.ledger.ledger_entry-payment_channel.jsonrpc.request.json method.ledger.ledger_entry-payment_channel.websocket.request.json method.ledger.ledger_entry-ripple_state.jsonrpc.request.json method.ledger.ledger_entry-ripple_state.websocket.request.json method.ledger.ledger_entry-ticket.jsonrpc.request.json method.ledger.ledger_entry-ticket.jsonrpc.response.error-malformedRequest.json method.ledger.ledger_entry-ticket.websocket.request.json method.path_and_order_book.book_offers.jsonrpc.request.json method.path_and_order_book.book_offers.jsonrpc.response.json method.path_and_order_book.book_offers.websocket.request.json method.path_and_order_book.book_offers.websocket.response.json method.path_and_order_book.deposit_authorized.jsonrpc.request.json method.path_and_order_book.deposit_authorized.jsonrpc.response.json method.path_and_order_book.deposit_authorized.websocket.request.json method.path_and_order_book.deposit_authorized.websocket.response.json method.path_and_order_book.path_find.websocket.request.json method.path_and_order_book.path_find.websocket.response.json method.path_and_order_book.ripple_path_find.jsonrpc.request.json method.path_and_order_book.ripple_path_find.jsonrpc.response.json method.path_and_order_book.ripple_path_find.websocket.request.json method.path_and_order_book.ripple_path_find.websocket.response.json method.payment_channel.channel_authorize.jsonrpc.request.json method.payment_channel.channel_authorize.jsonrpc.response.json method.payment_channel.channel_authorize.websocket.request.json method.payment_channel.channel_authorize.websocket.response.json method.payment_channel.channel_verify.jsonrpc.request.json method.payment_channel.channel_verify.jsonrpc.response.json method.payment_channel.channel_verify.websocket.request.json method.payment_channel.channel_verify.websocket.response.json method.server_info.fee.jsonrpc.request.json method.server_info.fee.jsonrpc.response.json method.server_info.fee.websocket.request.json method.server_info.fee.websocket.response.json method.server_info.manifest.jsonrpc.request.json method.server_info.manifest.jsonrpc.response.json method.server_info.manifest.websocket.request.json method.server_info.manifest.websocket.response.json method.server_info.server_info.jsonrpc.request.json method.server_info.server_info.jsonrpc.response.json method.server_info.server_info.websocket.request.json method.server_info.server_info.websocket.response.json method.server_info.server_state.jsonrpc.request.json method.server_info.server_state.jsonrpc.response.json method.server_info.server_state.websocket.request.json method.server_info.server_state.websocket.response.json method.transaction.sign.jsonrpc.request.json method.transaction.sign.jsonrpc.response.json method.transaction.sign.websocket.request.json method.transaction.sign.websocket.response.json method.transaction.sign_for.jsonrpc.request.json method.transaction.sign_for.jsonrpc.response.json method.transaction.sign_for.websocket.request.json method.transaction.sign_for.websocket.response.json method.transaction.submit.jsonrpc.request.json method.transaction.submit.jsonrpc.response.json method.transaction.submit.websocket.request.json method.transaction.submit.websocket.response.json method.transaction.submit_multisigned.jsonrpc.request.json method.transaction.submit_multisigned.jsonrpc.response.json method.transaction.submit_multisigned.websocket.request.json method.transaction.submit_multisigned.websocket.response.json method.transaction.transaction_entry.jsonrpc.request.json method.transaction.transaction_entry.jsonrpc.response.json method.transaction.transaction_entry.websocket.request.json method.transaction.transaction_entry.websocket.response.json method.transaction.tx.jsonrpc.request.json method.transaction.tx.jsonrpc.response.json method.transaction.tx.websocket.request.json method.transaction.tx.websocket.response.json method.transaction.tx_history.jsonrpc.request.json method.transaction.tx_history.jsonrpc.response.json method.transaction.tx_history.websocket.request.json method.transaction.tx_history.websocket.response.json method.utility.ping.jsonrpc.request.json method.utility.ping.jsonrpc.response.json method.utility.ping.websocket.request.json method.utility.ping.websocket.response.json method.utility.random.jsonrpc.request.json method.utility.random.jsonrpc.response.json method.utility.random.websocket.request.json method.utility.random.websocket.response.json model.offer.json model.paychannel.json

Index

Constants

View Source
const (
	ApiTypeJsonRpc   = "jsonrpc"
	ApiTypeWebsocket = "websocket"

	ObjectTypeRequest  = "request"
	ObjectTypeResponse = "response"
	ObjectTypeModel    = "model"
)
View Source
const (
	MethodAccountInfoJsonrpcRequest = "method.account.account_info.jsonrpc.request.json"
)

Variables

This section is empty.

Functions

func Asset

func Asset(name string) ([]byte, error)

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetDir

func AssetDir(name string) ([]string, error)

AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:

data/
  foo.txt
  img/
    a.png
    b.png

then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.

func AssetInfo

func AssetInfo(name string) (os.FileInfo, error)

AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetNames

func AssetNames() []string

AssetNames returns the names of the assets.

func ExampleJsonRequest

func ExampleJsonRequest(method, category string) ([]byte, error)

func ExampleJsonRequestFilename

func ExampleJsonRequestFilename(methodName, categoryName string) (string, error)

func GetMethodCategory

func GetMethodCategory(methodName string) string

func MustAsset

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func RestoreAsset

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

Types

This section is empty.

Jump to

Keyboard shortcuts

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