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 order API client.
NewCancelOrderDefault creates a CancelOrderDefault with default headers values.
NewCancelOrderOK creates a CancelOrderOK with default headers values.
NewCancelOrderParams creates a new CancelOrderParams object, with the default timeout for this client.
NewCancelOrderParamsWithContext creates a new CancelOrderParams object with the ability to set a context for a request.
NewCancelOrderParamsWithHTTPClient creates a new CancelOrderParams object with the ability to set a custom HTTPClient for a request.
NewCancelOrderParamsWithTimeout creates a new CancelOrderParams object with the ability to set a timeout on a request.
New creates a new order API client with basic auth credentials.
New creates a new order API client with a bearer token for authentication.
NewCreateOrderDefault creates a CreateOrderDefault with default headers values.
NewCreateOrderOK creates a CreateOrderOK with default headers values.
NewCreateOrderParams creates a new CreateOrderParams object, with the default timeout for this client.
NewCreateOrderParamsWithContext creates a new CreateOrderParams object with the ability to set a context for a request.
NewCreateOrderParamsWithHTTPClient creates a new CreateOrderParams object with the ability to set a custom HTTPClient for a request.
NewCreateOrderParamsWithTimeout creates a new CreateOrderParams object with the ability to set a timeout on a request.
NewGetOrderDefault creates a GetOrderDefault with default headers values.
NewGetOrderOK creates a GetOrderOK with default headers values.
NewGetOrderParams creates a new GetOrderParams object, with the default timeout for this client.
NewGetOrderParamsWithContext creates a new GetOrderParams object with the ability to set a context for a request.
NewGetOrderParamsWithHTTPClient creates a new GetOrderParams object with the ability to set a custom HTTPClient for a request.
NewGetOrderParamsWithTimeout creates a new GetOrderParams object with the ability to set a timeout on a request.

# Structs

CancelOrderDefault describes a response with status code -1, with default header values.
CancelOrderOK describes a response with status code 200, with default header values.
CancelOrderParams contains all the parameters to send to the API endpoint for the cancel order operation.
CancelOrderReader is a Reader for the CancelOrder structure.
Client for order API */.
CreateOrderDefault describes a response with status code -1, with default header values.
CreateOrderOK describes a response with status code 200, with default header values.
CreateOrderParams contains all the parameters to send to the API endpoint for the create order operation.
CreateOrderReader is a Reader for the CreateOrder structure.
GetOrderDefault describes a response with status code -1, with default header values.
GetOrderOK describes a response with status code 200, with default header values.
GetOrderParams contains all the parameters to send to the API endpoint for the get order operation.
GetOrderReader is a Reader for the GetOrder structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

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