quoteshandler

package
v0.0.0-...-1305305 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL