Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppUserIDCtxHeader = "app-user-id" AppUserPasskeyCtxHeader = "app-user-passkey" AgoraHMACHeader = "X-Agora-HMAC-SHA256" AppUserIDHeader = "X-App-User-ID" AppUserPasskeyHeader = "X-App-User-Passkey" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SignTransaction ¶
func (c *Client) SignTransaction(ctx context.Context, signURL url.URL, webhookSecret string, req *signtransaction.RequestBody) (envelopeXDR *xdr.TransactionEnvelope, err error)
SignTransaction submits a sign transaction request to an app webhook
type SignTransactionError ¶
type SignTransactionError struct { Message string StatusCode int OperationErrors []signtransaction.InvoiceError }
func (*SignTransactionError) Error ¶
func (e *SignTransactionError) Error() string
Click to show internal directories.
Click to hide internal directories.