Documentation ¶
Index ¶
- Variables
- type QuoteHandler
- func (qh QuoteHandler) CancelQuote(w http.ResponseWriter, request *http.Request)
- func (qh QuoteHandler) CancelQuotesByAttributes(w http.ResponseWriter, request *http.Request)
- func (qh QuoteHandler) ExecutedQuote(w http.ResponseWriter, request *http.Request)
- func (qh QuoteHandler) GetQuotes(w http.ResponseWriter, request *http.Request)
- func (qh QuoteHandler) GetQuotesByAttributes(w http.ResponseWriter, request *http.Request)
- func (qh QuoteHandler) GetQuotesByQuoteID(w http.ResponseWriter, request *http.Request)
- func (qh QuoteHandler) RequestQuote(w http.ResponseWriter, request *http.Request)
- func (qh QuoteHandler) UpdateQuote(w http.ResponseWriter, request *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("quotes")
Functions ¶
This section is empty.
Types ¶
type QuoteHandler ¶
type QuoteHandler struct { PRClient participantregistry.InterfaceClient HTTP *http.Client DBClient nqsdbclient.DatabaseClient WLSClient whitelistservice.InterfaceClient HorizonClient *horizon.Client GatewayOperation *kafka.KafkaOpreations }
func (QuoteHandler) CancelQuote ¶
func (qh QuoteHandler) CancelQuote(w http.ResponseWriter, request *http.Request)
func (QuoteHandler) CancelQuotesByAttributes ¶
func (qh QuoteHandler) CancelQuotesByAttributes(w http.ResponseWriter, request *http.Request)
func (QuoteHandler) ExecutedQuote ¶
func (qh QuoteHandler) ExecutedQuote(w http.ResponseWriter, request *http.Request)
func (QuoteHandler) GetQuotes ¶
func (qh QuoteHandler) GetQuotes(w http.ResponseWriter, request *http.Request)
func (QuoteHandler) GetQuotesByAttributes ¶
func (qh QuoteHandler) GetQuotesByAttributes(w http.ResponseWriter, request *http.Request)
TODO testing; define caller, this shall be OFI
func (QuoteHandler) GetQuotesByQuoteID ¶
func (qh QuoteHandler) GetQuotesByQuoteID(w http.ResponseWriter, request *http.Request)
func (QuoteHandler) RequestQuote ¶
func (qh QuoteHandler) RequestQuote(w http.ResponseWriter, request *http.Request)
RequestQuote recieve request from OFI and send corresponding quote request to RFIs
func (QuoteHandler) UpdateQuote ¶
func (qh QuoteHandler) UpdateQuote(w http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.