Documentation ¶
Index ¶
- type KeyPair
- type RequestHandler
- func (rh *RequestHandler) AdminReceivedPayment(w http.ResponseWriter, r *http.Request)
- func (rh *RequestHandler) AdminReceivedPayments(w http.ResponseWriter, r *http.Request)
- func (rh *RequestHandler) AdminSentTransactions(w http.ResponseWriter, r *http.Request)
- func (rh *RequestHandler) Authorize(w http.ResponseWriter, r *http.Request)
- func (rh *RequestHandler) Builder(w http.ResponseWriter, r *http.Request)
- func (rh *RequestHandler) CreateKeypair(w http.ResponseWriter, r *http.Request)
- func (rh *RequestHandler) Payment(w http.ResponseWriter, r *http.Request)
- func (rh *RequestHandler) Reprocess(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestHandler ¶
type RequestHandler struct { Config *config.Config `inject:""` Client http.SimpleHTTPClientInterface `inject:""` Horizon hc.ClientInterface `inject:""` Database db.Database `inject:""` StellarTomlResolver stellartoml.ClientInterface `inject:""` FederationResolver federation.ClientInterface `inject:""` TransactionSubmitter submitter.TransactionSubmitterInterface `inject:""` PaymentListener *listener.PaymentListener `inject:""` }
RequestHandler implements bridge server request handlers
func (*RequestHandler) AdminReceivedPayment ¶
func (rh *RequestHandler) AdminReceivedPayment(w http.ResponseWriter, r *http.Request)
AdminReceivedPayment implements /admin/received-payments/{id} endpoint
func (*RequestHandler) AdminReceivedPayments ¶
func (rh *RequestHandler) AdminReceivedPayments(w http.ResponseWriter, r *http.Request)
AdminReceivedPayments implements /admin/received-payments endpoint
func (*RequestHandler) AdminSentTransactions ¶
func (rh *RequestHandler) AdminSentTransactions(w http.ResponseWriter, r *http.Request)
AdminReceivedPayments implements /admin/sent-transactions endpoint
func (*RequestHandler) Authorize ¶
func (rh *RequestHandler) Authorize(w http.ResponseWriter, r *http.Request)
Authorize implements /authorize endpoint
func (*RequestHandler) Builder ¶
func (rh *RequestHandler) Builder(w http.ResponseWriter, r *http.Request)
Builder implements /builder endpoint
func (*RequestHandler) CreateKeypair ¶
func (rh *RequestHandler) CreateKeypair(w http.ResponseWriter, r *http.Request)
CreateKeypair implements /create-keypair endpoint
func (*RequestHandler) Payment ¶
func (rh *RequestHandler) Payment(w http.ResponseWriter, r *http.Request)
Payment implements /payment endpoint
func (*RequestHandler) Reprocess ¶
func (rh *RequestHandler) Reprocess(w http.ResponseWriter, r *http.Request)
Authorize implements /reprocess endpoint
Click to show internal directories.
Click to hide internal directories.