package
0.0.0-20250118092006-2bbb97753268
Repository: https://github.com/chengxufeng1994/event-driven-arch-in-go.git
Documentation: pkg.go.dev

# Functions

New creates a new invoice API client.
New creates a new invoice API client with basic auth credentials.
New creates a new invoice API client with a bearer token for authentication.
NewPayInvoiceDefault creates a PayInvoiceDefault with default headers values.
NewPayInvoiceOK creates a PayInvoiceOK with default headers values.
NewPayInvoiceParams creates a new PayInvoiceParams object, with the default timeout for this client.
NewPayInvoiceParamsWithContext creates a new PayInvoiceParams object with the ability to set a context for a request.
NewPayInvoiceParamsWithHTTPClient creates a new PayInvoiceParams object with the ability to set a custom HTTPClient for a request.
NewPayInvoiceParamsWithTimeout creates a new PayInvoiceParams object with the ability to set a timeout on a request.

# Structs

Client for invoice API */.
PayInvoiceDefault describes a response with status code -1, with default header values.
PayInvoiceOK describes a response with status code 200, with default header values.
PayInvoiceParams contains all the parameters to send to the API endpoint for the pay invoice operation.
PayInvoiceReader is a Reader for the PayInvoice structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption may be used to customize the behavior of Client methods.