Directories ¶
Path | Synopsis |
---|---|
Package address provides utility functions for working with hcnet addresses.
|
Package address provides utility functions for working with hcnet addresses. |
Package amount provides utilities for converting numbers to/from the format used internally to hcnet-core.
|
Package amount provides utilities for converting numbers to/from the format used internally to hcnet-core. |
Package clients contains sub-packages that provide client access to the various hcnet services.
|
Package clients contains sub-packages that provide client access to the various hcnet services. |
auroraclient
Package auroraclient provides client access to a Aurora server, allowing an application to post transactions and look up ledger information.
|
Package auroraclient provides client access to a Aurora server, allowing an application to post transactions and look up ledger information. |
hcnetcore
Package hcnetcore is a client library for communicating with an instance of hcnet-core using through the server's HTTP port.
|
Package hcnetcore is a client library for communicating with an instance of hcnet-core using through the server's HTTP port. |
Package exp houses experimental packages related to Hcnet developement
|
Package exp houses experimental packages related to Hcnet developement |
crypto/derivation
Package derivation provides functions for ed25519 key derivation as described in: https://github.com/satoshilabs/slips/blob/master/slip-0010.md
|
Package derivation provides functions for ed25519 key derivation as described in: https://github.com/satoshilabs/slips/blob/master/slip-0010.md |
lighthorizon/index/cmd/batch
Package batch provides two commands: map and reduce that can be run in AWS Batch to generate indexes for occurences of accounts in each checkpoint.
|
Package batch provides two commands: map and reduce that can be run in AWS Batch to generate indexes for occurences of accounts in each checkpoint. |
support/jwtkey
Package jwtkey provides utility functions for generating, serializing and deserializing JWT ECDSA keys.
|
Package jwtkey provides utility functions for generating, serializing and deserializing JWT ECDSA keys. |
support/pipeline
TODO explain here how to write wrappers to use without casting from `interface{}`.
|
TODO explain here how to write wrappers to use without casting from `interface{}`. |
handlers
|
|
federation
Package federation provides a pluggable handler that satisfies the Hcnet federation protocol.
|
Package federation provides a pluggable handler that satisfies the Hcnet federation protocol. |
Package ingest provides primitives for building custom ingestion engines.
|
Package ingest provides primitives for building custom ingestion engines. |
verify
Package verify provides helpers used for verifying if the ingested data is correct.
|
Package verify provides helpers used for verifying if the ingested data is correct. |
Package network contains functions that deal with hcnet network passphrases and IDs.
|
Package network contains functions that deal with hcnet network passphrases and IDs. |
Package price implements functions to ease working with hcnet price values.
|
Package price implements functions to ease working with hcnet price values. |
protocols
|
|
aurora
Package aurora contains the type definitions for all of aurora's response resources.
|
Package aurora contains the type definitions for all of aurora's response resources. |
Package services contains sub-packages that provide long-running applications such as API servers.
|
Package services contains sub-packages that provide long-running applications such as API servers. |
aurora/internal/actions
Package actions provides the infrastructure for defining and executing actions (code that is triggered in response to an client request) on aurora.
|
Package actions provides the infrastructure for defining and executing actions (code that is triggered in response to an client request) on aurora. |
aurora/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 |
aurora/internal/codes
Package codes is a helper package to help convert to transaction and operation result codes to strings used in aurora.
|
Package codes is a helper package to help convert to transaction and operation result codes to strings used in aurora. |
aurora/internal/db2
Package db2 is the replacement for db.
|
Package db2 is the replacement for db. |
aurora/internal/db2/history
Package history contains database record definitions useable for reading rows from a the history portion of aurora's database
|
Package history contains database record definitions useable for reading rows from a the history portion of aurora's database |
aurora/internal/hchi
Package hchi provides functions to support embedded and retrieving a request id from a go context tree
|
Package hchi provides functions to support embedded and retrieving a request id from a go context tree |
aurora/internal/ingest
Package ingest contains the new ingestion system for aurora.
|
Package ingest contains the new ingestion system for aurora. |
aurora/internal/ledger
Package ledger provides useful utilities concerning ledgers within hcnet, specifically as a central location to store a cached snapshot of the state of both aurora's and hcnet-core's views of the ledger.
|
Package ledger provides useful utilities concerning ledgers within hcnet, specifically as a central location to store a cached snapshot of the state of both aurora's and hcnet-core's views of the ledger. |
aurora/internal/operationfeestats
Package operationfeestats provides useful utilities concerning operation fee stats within hcnet,specifically as a central location to store a cached snapshot of the state of network per operation fees and surge pricing.
|
Package operationfeestats provides useful utilities concerning operation fee stats within hcnet,specifically as a central location to store a cached snapshot of the state of network per operation fees and surge pricing. |
aurora/internal/paths
Package paths provides utilities and facilities for payment paths as needed by aurora.
|
Package paths provides utilities and facilities for payment paths as needed by aurora. |
aurora/internal/reap
Package reap contains the history reaping subsystem for aurora.
|
Package reap contains the history reaping subsystem for aurora. |
aurora/internal/render/sse
This package contains the Server Sent Events implementation used by aurora.
|
This package contains the Server Sent Events implementation used by aurora. |
aurora/internal/simplepath
Package simplepath provides an implementation of paths.
|
Package simplepath provides an implementation of paths. |
aurora/internal/test
Package test contains simple test helpers that should not have any dependencies on aurora's packages.
|
Package test contains simple test helpers that should not have any dependencies on aurora's packages. |
aurora/internal/test/db
Package db provides helpers to connect to test databases.
|
Package db provides helpers to connect to test databases. |
aurora/internal/test/transactions
Package transactions offers common infrastructure for testing Transactions
|
Package transactions offers common infrastructure for testing Transactions |
aurora/internal/txsub
Package txsub provides the machinery that aurora uses to submit transactions to the hcnet network and track their progress.
|
Package txsub provides the machinery that aurora uses to submit transactions to the hcnet network and track their progress. |
aurora/internal/utf8
Package utf8 contains utilities for working with utf8 data.
|
Package utf8 contains utilities for working with utf8 data. |
Package strkey is an implementation of StrKey, the address scheme for the HcnetNetwork.
|
Package strkey is an implementation of StrKey, the address scheme for the HcnetNetwork. |
internal/crc16
Package crc16 is implementation according to CCITT standards.
|
Package crc16 is implementation according to CCITT standards. |
support
|
|
app
Package app provides vars that can be populated via "-X" linker flags to provide global application metadata, such as build time or version.
|
Package app provides vars that can be populated via "-X" linker flags to provide global application metadata, such as build time or version. |
config
Package config provides a common infrastructure for reading configuration data stored in local TOML files.
|
Package config provides a common infrastructure for reading configuration data stored in local TOML files. |
db
Package db is the base package for database access at hcnet.
|
Package db is the base package for database access at hcnet. |
db/sqlutils
Package sqlutils contains utility functions for manipulating strings of SQL
|
Package sqlutils contains utility functions for manipulating strings of SQL |
errors
Package errors provides the common infrastructure for managing errors.
|
Package errors provides the common infrastructure for managing errors. |
http
Package http provides easy access to Hcnet's best practices for building http servers.
|
Package http provides easy access to Hcnet's best practices for building http servers. |
http/httpauthz
Package httpauthz contains helper functions for parsing the 'Authorization' header in HTTP requests.
|
Package httpauthz contains helper functions for parsing the 'Authorization' header in HTTP requests. |
http/httptest
Package httptest enhances the stdlib net/http/httptest package by integrating it with gopkg.in/gavv/httpexpect.v1, reducing the boilerplate needed for http tests.
|
Package httptest enhances the stdlib net/http/httptest package by integrating it with gopkg.in/gavv/httpexpect.v1, reducing the boilerplate needed for http tests. |
http/mutil
Package mutil contains various functions that are helpful when writing http middleware.
|
Package mutil contains various functions that are helpful when writing http middleware. |
log
Package log provides the common logging facilities used by the Hcnet Development foundation.
|
Package log provides the common logging facilities used by the Hcnet Development foundation. |
render/health
Package health contains simple utilities for implementing a /health endpoint that adheres to the requirements defined in the draft IETF network working group standard, Health Check Response Format for HTTP APIs.
|
Package health contains simple utilities for implementing a /health endpoint that adheres to the requirements defined in the draft IETF network working group standard, Health Check Response Format for HTTP APIs. |
render/problem
Package problem provides utility functions for rendering errors as RFC7807 compatible responses.
|
Package problem provides utility functions for rendering errors as RFC7807 compatible responses. |
test
Package test contains simple test helpers that should not have any service-specific dependencies.
|
Package test contains simple test helpers that should not have any service-specific dependencies. |
tools
|
|
alb-replay
alb-replay replays the successful GET requests found in an AWS ALB log file see https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-logs.html
|
alb-replay replays the successful GET requests found in an AWS ALB log file see https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-logs.html |
goreplay-middleware
The code below is a goreplay middleware used for regression testing current vs next Aurora version.
|
The code below is a goreplay middleware used for regression testing current vs next Aurora version. |
stellar-sign
hcnet-sign is a small interactive utility to help you contribute a signature to a transaction envelope or verify a transaction.
|
hcnet-sign is a small interactive utility to help you contribute a signature to a transaction envelope or verify a transaction. |
Package txnbuild implements transactions and operations on the Hcnet network.
|
Package txnbuild implements transactions and operations on the Hcnet network. |
cmd/demo
Demo is an interactive demonstration of the Go SDK using the Hcnet TestNet.
|
Demo is an interactive demonstration of the Go SDK using the Hcnet TestNet. |
cmd/demo/operations
Package demo is an interactive demonstration of the Go SDK using the Hcnet TestNet.
|
Package demo is an interactive demonstration of the Go SDK using the Hcnet TestNet. |
exampleauroraclient
Package exampleauroraclient provides a dummy client for use with the GoDoc examples.
|
Package exampleauroraclient provides a dummy client for use with the GoDoc examples. |
Package xdr contains the generated code for parsing the xdr structures used for hcnet.
|
Package xdr contains the generated code for parsing the xdr structures used for hcnet. |
Click to show internal directories.
Click to hide internal directories.