package
2.0.1+incompatible
Repository: https://github.com/practical-coder/hdc.git
Documentation: pkg.go.dev
# Functions
New creates a new transactions API client.
NewCommitTransactionAccepted creates a CommitTransactionAccepted with default headers values.
NewCommitTransactionBadRequest creates a CommitTransactionBadRequest with default headers values.
NewCommitTransactionDefault creates a CommitTransactionDefault with default headers values.
NewCommitTransactionNotAcceptable creates a CommitTransactionNotAcceptable with default headers values.
NewCommitTransactionNotFound creates a CommitTransactionNotFound with default headers values.
NewCommitTransactionOK creates a CommitTransactionOK with default headers values.
NewCommitTransactionParams creates a new CommitTransactionParams object, with the default timeout for this client.
NewCommitTransactionParamsWithContext creates a new CommitTransactionParams object with the ability to set a context for a request.
NewCommitTransactionParamsWithHTTPClient creates a new CommitTransactionParams object with the ability to set a custom HTTPClient for a request.
NewCommitTransactionParamsWithTimeout creates a new CommitTransactionParams object with the ability to set a timeout on a request.
NewDeleteTransactionDefault creates a DeleteTransactionDefault with default headers values.
NewDeleteTransactionNoContent creates a DeleteTransactionNoContent with default headers values.
NewDeleteTransactionNotFound creates a DeleteTransactionNotFound with default headers values.
NewDeleteTransactionParams creates a new DeleteTransactionParams object, with the default timeout for this client.
NewDeleteTransactionParamsWithContext creates a new DeleteTransactionParams object with the ability to set a context for a request.
NewDeleteTransactionParamsWithHTTPClient creates a new DeleteTransactionParams object with the ability to set a custom HTTPClient for a request.
NewDeleteTransactionParamsWithTimeout creates a new DeleteTransactionParams object with the ability to set a timeout on a request.
NewGetTransactionDefault creates a GetTransactionDefault with default headers values.
NewGetTransactionNotFound creates a GetTransactionNotFound with default headers values.
NewGetTransactionOK creates a GetTransactionOK with default headers values.
NewGetTransactionParams creates a new GetTransactionParams object, with the default timeout for this client.
NewGetTransactionParamsWithContext creates a new GetTransactionParams object with the ability to set a context for a request.
NewGetTransactionParamsWithHTTPClient creates a new GetTransactionParams object with the ability to set a custom HTTPClient for a request.
NewGetTransactionParamsWithTimeout creates a new GetTransactionParams object with the ability to set a timeout on a request.
NewGetTransactionsDefault creates a GetTransactionsDefault with default headers values.
NewGetTransactionsOK creates a GetTransactionsOK with default headers values.
NewGetTransactionsParams creates a new GetTransactionsParams object, with the default timeout for this client.
NewGetTransactionsParamsWithContext creates a new GetTransactionsParams object with the ability to set a context for a request.
NewGetTransactionsParamsWithHTTPClient creates a new GetTransactionsParams object with the ability to set a custom HTTPClient for a request.
NewGetTransactionsParamsWithTimeout creates a new GetTransactionsParams object with the ability to set a timeout on a request.
NewStartTransactionCreated creates a StartTransactionCreated with default headers values.
NewStartTransactionDefault creates a StartTransactionDefault with default headers values.
NewStartTransactionParams creates a new StartTransactionParams object, with the default timeout for this client.
NewStartTransactionParamsWithContext creates a new StartTransactionParams object with the ability to set a context for a request.
NewStartTransactionParamsWithHTTPClient creates a new StartTransactionParams object with the ability to set a custom HTTPClient for a request.
NewStartTransactionParamsWithTimeout creates a new StartTransactionParams object with the ability to set a timeout on a request.
NewStartTransactionTooManyRequests creates a StartTransactionTooManyRequests with default headers values.
# Structs
Client for transactions API
*/.
CommitTransactionAccepted describes a response with status code 202, with default header values.
CommitTransactionBadRequest describes a response with status code 400, with default header values.
CommitTransactionDefault describes a response with status code -1, with default header values.
CommitTransactionNotAcceptable describes a response with status code 406, with default header values.
CommitTransactionNotFound describes a response with status code 404, with default header values.
CommitTransactionOK describes a response with status code 200, with default header values.
CommitTransactionParams contains all the parameters to send to the API endpoint
for the commit transaction operation.
CommitTransactionReader is a Reader for the CommitTransaction structure.
DeleteTransactionDefault describes a response with status code -1, with default header values.
DeleteTransactionNoContent describes a response with status code 204, with default header values.
DeleteTransactionNotFound describes a response with status code 404, with default header values.
DeleteTransactionParams contains all the parameters to send to the API endpoint
for the delete transaction operation.
DeleteTransactionReader is a Reader for the DeleteTransaction structure.
GetTransactionDefault describes a response with status code -1, with default header values.
GetTransactionNotFound describes a response with status code 404, with default header values.
GetTransactionOK describes a response with status code 200, with default header values.
GetTransactionParams contains all the parameters to send to the API endpoint
for the get transaction operation.
GetTransactionReader is a Reader for the GetTransaction structure.
GetTransactionsDefault describes a response with status code -1, with default header values.
GetTransactionsOK describes a response with status code 200, with default header values.
GetTransactionsParams contains all the parameters to send to the API endpoint
for the get transactions operation.
GetTransactionsReader is a Reader for the GetTransactions structure.
StartTransactionCreated describes a response with status code 201, with default header values.
StartTransactionDefault describes a response with status code -1, with default header values.
StartTransactionParams contains all the parameters to send to the API endpoint
for the start transaction operation.
StartTransactionReader is a Reader for the StartTransaction structure.
StartTransactionTooManyRequests describes a response with status code 429, with default header values.
StartTransactionTooManyRequestsBody start transaction too many requests body
// Example: {"code":429,"message":"cannot start a new transaction, reached the maximum amount of 20 active transactions available"}
swagger:model StartTransactionTooManyRequestsBody
*/.
# Interfaces
ClientService is the interface for Client methods.
# Type aliases
ClientOption is the option for Client methods.