Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("discover")
Functions ¶
This section is empty.
Types ¶
type DiscoverHandler ¶
type DiscoverHandler struct { }
func CreateDiscoverHandler ¶
func CreateDiscoverHandler() (DiscoverHandler, error)
func (DiscoverHandler) DiscoverParticipant ¶
func (dh DiscoverHandler) DiscoverParticipant(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
type Failure403 ¶
type Failure403 struct { Title string `json:"title"` FailureReason FailureReason403 `json:"failure_reason"` }
type FailureReason403 ¶
type FailureReason403 struct { EnvelopeXdr string `json:"envelope_xdr"` ResultCodes ResultCodes `json:"result_codes"` ResultXdr string `json:"result_xdr"` }
type FundHandler ¶
type FundHandler struct { GasServiceClient gasserviceclient.GasServiceClient // contains filtered or unexported fields }
func CreateFundHandler ¶
func CreateFundHandler() (FundHandler, error)
func (FundHandler) FundRequest ¶
func (fh FundHandler) FundRequest(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
this endpoint is to construct a funding transaction (xdr) and return it to the anchor
func (FundHandler) SignedFundRequest ¶
func (fh FundHandler) SignedFundRequest(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
this endpoint is for submitting a funding transaction that has been signed by the anchor
type GasAccountAndSequence ¶
type OnBoardingHandler ¶
type OnBoardingHandler struct { VaultSession secrets.Client GasServiceClient gasserviceclient.GasServiceClient // contains filtered or unexported fields }
func CreateOnBoardingHandler ¶
func CreateOnBoardingHandler() (OnBoardingHandler, error)
func (OnBoardingHandler) OnBoardAsset ¶
func (oh OnBoardingHandler) OnBoardAsset(w http.ResponseWriter, req *http.Request)
func (OnBoardingHandler) RegisterAnchor ¶
func (oh OnBoardingHandler) RegisterAnchor(w http.ResponseWriter, request *http.Request)
type Operations ¶
type Operations struct { ParticipantRegistryClient pr_client.PRServiceClient CryptoClient crypto_client.CryptoServiceClient VaultSession utils.Session GasServiceClient gasserviceclient.GasServiceClient StrongHoldAnchorID string }
func CreateAnchorOperations ¶
func CreateAnchorOperations() (Operations, error)
func (Operations) WithDraw ¶
func (op Operations) WithDraw(withdrawRequest model.StrongholdWithdrawRequest) (*model.StrongholdWithdrawResponse, error)
type ResultCodes ¶
type ResultCodes struct {
Transaction string `json:"transaction"`
}
type TrustHandler ¶
type TrustHandler struct { VaultSession secrets.Client GasServiceClient gasserviceclient.GasServiceClient // contains filtered or unexported fields }
func CreateTrustHandler ¶
func CreateTrustHandler() (TrustHandler, error)
func (TrustHandler) AllowTrust ¶
func (th TrustHandler) AllowTrust(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
func (TrustHandler) GetIssuedAssets ¶
func (th TrustHandler) GetIssuedAssets(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.