Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("quotes")
Functions ¶
func CheckQuoteStatus ¶
func CheckQuoteStatus()
Types ¶
type ExchangeHandler ¶
type ExchangeHandler struct { HTTP *http.Client GasServiceClient gasservice.GasServiceClient HorizonClient *horizon.Client CSClient cryptoservice.InterfaceClient WLSClient whitelistservice.InterfaceClient PRClient participantregistry.InterfaceClient DBClient nqsdbclient.DatabaseClient LogDbClient *database.MongoClient MongoDbName string MongoDbCollection string }
ExchangeHandler : Holds necessary parameters used to create an atomic exchange
func (*ExchangeHandler) CreateAtomicExchange ¶
func (eh *ExchangeHandler) CreateAtomicExchange(w http.ResponseWriter, request *http.Request)
CreateAtomicExchange : creates atomic exchange between 2 different assets based on selected quotes
type ExchangeLog ¶
type ExchangeLog struct { ExchangeReceipt model.ExchangeReceipt OFIID string RFIID string }
ExchangeLog holds relevant non-PII Exchange transaction data for view by the client This is currently logged to Firebase, but can be reused in other places in the future
Click to show internal directories.
Click to hide internal directories.