Documentation ¶
Index ¶
- type Client
- type TotalOK
- type TotalParams
- func (o *TotalParams) SetContext(ctx context.Context)
- func (o *TotalParams) SetHTTPClient(client *http.Client)
- func (o *TotalParams) SetTimeout(timeout time.Duration)
- func (o *TotalParams) WithContext(ctx context.Context) *TotalParams
- func (o *TotalParams) WithHTTPClient(client *http.Client) *TotalParams
- func (o *TotalParams) WithTimeout(timeout time.Duration) *TotalParams
- func (o *TotalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TotalReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for users API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new users API client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Total ¶
func (a *Client) Total(params *TotalParams, authInfo runtime.ClientAuthInfoWriter) (*TotalOK, error)
Total currents throughput of this node in messages per second
type TotalOK ¶
type TotalOK struct {
Payload *models.Throughput
}
TotalOK handles this case with default header values.
No response was specified
func NewTotalOK ¶
func NewTotalOK() *TotalOK
NewTotalOK creates a TotalOK with default headers values
type TotalParams ¶
type TotalParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TotalParams contains all the parameters to send to the API endpoint for the total operation typically these are written to a http.Request
func NewTotalParams ¶
func NewTotalParams() *TotalParams
NewTotalParams creates a new TotalParams object with the default values initialized.
func NewTotalParamsWithContext ¶
func NewTotalParamsWithContext(ctx context.Context) *TotalParams
NewTotalParamsWithContext creates a new TotalParams object with the default values initialized, and the ability to set a context for a request
func NewTotalParamsWithHTTPClient ¶
func NewTotalParamsWithHTTPClient(client *http.Client) *TotalParams
NewTotalParamsWithHTTPClient creates a new TotalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTotalParamsWithTimeout ¶
func NewTotalParamsWithTimeout(timeout time.Duration) *TotalParams
NewTotalParamsWithTimeout creates a new TotalParams object with the default values initialized, and the ability to set a timeout on a request
func (*TotalParams) SetContext ¶
func (o *TotalParams) SetContext(ctx context.Context)
SetContext adds the context to the total params
func (*TotalParams) SetHTTPClient ¶
func (o *TotalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the total params
func (*TotalParams) SetTimeout ¶
func (o *TotalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the total params
func (*TotalParams) WithContext ¶
func (o *TotalParams) WithContext(ctx context.Context) *TotalParams
WithContext adds the context to the total params
func (*TotalParams) WithHTTPClient ¶
func (o *TotalParams) WithHTTPClient(client *http.Client) *TotalParams
WithHTTPClient adds the HTTPClient to the total params
func (*TotalParams) WithTimeout ¶
func (o *TotalParams) WithTimeout(timeout time.Duration) *TotalParams
WithTimeout adds the timeout to the total params
func (*TotalParams) WriteToRequest ¶
func (o *TotalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TotalReader ¶
type TotalReader struct {
// contains filtered or unexported fields
}
TotalReader is a Reader for the Total structure.
func (*TotalReader) ReadResponse ¶
func (o *TotalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.