Documentation ¶
Overview ¶
Package services contains sub-packages that provide long-running applications such as API servers.
Directories ¶
Path | Synopsis |
---|---|
stress
Structs and functions used in stress tests
|
Structs and functions used in stress tests |
internal/actions
Package actions provides the infrastructure for defining and executing actions (code that is triggered in response to an client request) on frontier.
|
Package actions provides the infrastructure for defining and executing actions (code that is triggered in response to an client request) on frontier. |
internal/assets
Package assets is a simple helper package to help convert to/from xdr.AssetType values
|
Package assets is a simple helper package to help convert to/from xdr.AssetType values |
internal/codes
Package codes is a helper package to help convert to transaction and operation result codes to strings used in frontier.
|
Package codes is a helper package to help convert to transaction and operation result codes to strings used in frontier. |
internal/context/requestid
Package requestid provides functions to support embedded and retrieving a request id from a go context tree
|
Package requestid provides functions to support embedded and retrieving a request id from a go context tree |
internal/db2
Package db2 is the replacement for db.
|
Package db2 is the replacement for db. |
internal/db2/core
Package core contains database record definitions useable for reading rows from a digitalbits Core db
|
Package core contains database record definitions useable for reading rows from a digitalbits Core db |
internal/db2/history
Package history contains database record definitions useable for reading rows from a the history portion of frontier's database
|
Package history contains database record definitions useable for reading rows from a the history portion of frontier's database |
internal/db2/sqx
Package sqx contains utilities and extensions for the squirrel package which is used by frontier to generate sql statements.
|
Package sqx contains utilities and extensions for the squirrel package which is used by frontier to generate sql statements. |
internal/ingest
Package ingest contains the ingestion system for frontier.
|
Package ingest contains the ingestion system for frontier. |
internal/ingest/participants
Package participants contains functions to derive a set of "participant" addresses for various data structures in the DigitalBits network's ledger.
|
Package participants contains functions to derive a set of "participant" addresses for various data structures in the DigitalBits network's ledger. |
internal/ledger
Package ledger provides useful utilities concerning ledgers within digitalbits, specifically as a central location to store a cached snapshot of the state of both frontier's and digitalbits-core's views of the ledger.
|
Package ledger provides useful utilities concerning ledgers within digitalbits, specifically as a central location to store a cached snapshot of the state of both frontier's and digitalbits-core's views of the ledger. |
internal/log
Package log provides the logging facilities used for frontier.
|
Package log provides the logging facilities used for frontier. |
internal/paths
Package paths provides utilities and facilities for payment paths as needed by frontier.
|
Package paths provides utilities and facilities for payment paths as needed by frontier. |
internal/reap
Package reap contains the history reaping subsystem for frontier.
|
Package reap contains the history reaping subsystem for frontier. |
internal/render/sse
This package contains the Server Sent Events implementation used by frontier.
|
This package contains the Server Sent Events implementation used by frontier. |
internal/resource
Package resource contains the type definitions for all of frontier response resources.
|
Package resource contains the type definitions for all of frontier response resources. |
internal/simplepath
Package simplepath provides an implementation of paths.Finder that performs a breadth first search for paths against a digitalbits-core's database
|
Package simplepath provides an implementation of paths.Finder that performs a breadth first search for paths against a digitalbits-core's database |
internal/test
Package test contains simple test helpers that should not have any dependencies on frontier's packages.
|
Package test contains simple test helpers that should not have any dependencies on frontier's packages. |
internal/test/db
Package db provides helpers to connect to test databases.
|
Package db provides helpers to connect to test databases. |
internal/test/trades
Common infrastructure for testing Trades
|
Common infrastructure for testing Trades |
internal/txsub
Package txsub provides the machinery that frontier uses to submit transactions to the digitalbits network and track their progress.
|
Package txsub provides the machinery that frontier uses to submit transactions to the digitalbits network and track their progress. |
internal/txsub/results/db
Package results provides an implementation of the txsub.ResultProvider interface backed using the SQL databases used by both digitalbits core and frontier
|
Package results provides an implementation of the txsub.ResultProvider interface backed using the SQL databases used by both digitalbits core and frontier |
internal/txsub/sequence
Package sequence providers helpers to manage sequence numbers on behalf of frontier clients.
|
Package sequence providers helpers to manage sequence numbers on behalf of frontier clients. |
internal/utf8
Package utf8 contains utilities for working with utf8 data.
|
Package utf8 contains utilities for working with utf8 data. |
Click to show internal directories.
Click to hide internal directories.