package
0.0.0-20181003211919-798156fdb816
Repository: https://github.com/digitalbitsorg/go.git
Documentation: pkg.go.dev
# Constants
AuthStatusDenied is returned when authentication was denied.
AuthStatusError is returned when there was an error.
AuthStatusOk is returned when authentication was successful.
AuthStatusPending is returned when authentication is pending.
TransactionStatusApproved is a value of `status` field for the tx_status endpoint response.
TransactionStatusClaimable is a value of `status` field for the tx_status endpoint response.
TransactionStatusDelivered is a value of `status` field for the tx_status endpoint response.
TransactionStatusFailed is a value of `status` field for the tx_status endpoint response.
TransactionStatusNotApproved is a value of `status` field for the tx_status endpoint response.
TransactionStatusPending is a value of `status` field for the tx_status endpoint response.
TransactionStatusRefunded is a value of `status` field for the tx_status endpoint response.
TransactionStatusUnknown is a value of `status` field for the tx_status endpoint response.
# Structs
Attachment represents preimage object of compliance protocol in digitalbits attachment convention.
AuthData represents how AuthRequest.Data field looks like.
AuthRequest represents auth request sent to compliance server.
AuthResponse represents response sent by auth server.
Operation represents a single operation object in digitalbits attachment.
SenderInfo is a helper structure with standardized fields that contains information about the sender.
Transaction represents transaction field in digitalbits attachment.
TransactionStatusResponse represents a response from the tx_status endpoint.
# Type aliases
AuthStatus represents auth status returned by Auth Server.
Route allows unmarshalling both integer and string types into string.
TransactionStatus is the status string returned be tx_status endpoint.