Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetPublicGetTimeOK
- type GetPublicGetTimeParams
- func NewGetPublicGetTimeParams() *GetPublicGetTimeParams
- func NewGetPublicGetTimeParamsWithContext(ctx context.Context) *GetPublicGetTimeParams
- func NewGetPublicGetTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetTimeParams
- func NewGetPublicGetTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetTimeParams
- func (o *GetPublicGetTimeParams) SetContext(ctx context.Context)
- func (o *GetPublicGetTimeParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetTimeParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetTimeParams) WithContext(ctx context.Context) *GetPublicGetTimeParams
- func (o *GetPublicGetTimeParams) WithHTTPClient(client *http.Client) *GetPublicGetTimeParams
- func (o *GetPublicGetTimeParams) WithTimeout(timeout time.Duration) *GetPublicGetTimeParams
- func (o *GetPublicGetTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetTimeReader
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 supporting API
func (*Client) GetPublicGetTime ¶
func (a *Client) GetPublicGetTime(params *GetPublicGetTimeParams) (*GetPublicGetTimeOK, error)
GetPublicGetTime retrieves the current time in milliseconds this API endpoint can be used to check the clock skew between your software and deribit s systems
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetPublicGetTime(params *GetPublicGetTimeParams) (*GetPublicGetTimeOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new supporting API client.
type GetPublicGetTimeOK ¶
type GetPublicGetTimeOK struct {
Payload *models.PublicGetTimeResponse
}
GetPublicGetTimeOK handles this case with default header values.
GetPublicGetTimeOK get public get time o k
func NewGetPublicGetTimeOK ¶
func NewGetPublicGetTimeOK() *GetPublicGetTimeOK
NewGetPublicGetTimeOK creates a GetPublicGetTimeOK with default headers values
func (*GetPublicGetTimeOK) Error ¶
func (o *GetPublicGetTimeOK) Error() string
func (*GetPublicGetTimeOK) GetPayload ¶
func (o *GetPublicGetTimeOK) GetPayload() *models.PublicGetTimeResponse
type GetPublicGetTimeParams ¶
type GetPublicGetTimeParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicGetTimeParams contains all the parameters to send to the API endpoint for the get public get time operation typically these are written to a http.Request
func NewGetPublicGetTimeParams ¶
func NewGetPublicGetTimeParams() *GetPublicGetTimeParams
NewGetPublicGetTimeParams creates a new GetPublicGetTimeParams object with the default values initialized.
func NewGetPublicGetTimeParamsWithContext ¶
func NewGetPublicGetTimeParamsWithContext(ctx context.Context) *GetPublicGetTimeParams
NewGetPublicGetTimeParamsWithContext creates a new GetPublicGetTimeParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicGetTimeParamsWithHTTPClient ¶
func NewGetPublicGetTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetTimeParams
NewGetPublicGetTimeParamsWithHTTPClient creates a new GetPublicGetTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicGetTimeParamsWithTimeout ¶
func NewGetPublicGetTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetTimeParams
NewGetPublicGetTimeParamsWithTimeout creates a new GetPublicGetTimeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicGetTimeParams) SetContext ¶
func (o *GetPublicGetTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the get public get time params
func (*GetPublicGetTimeParams) SetHTTPClient ¶
func (o *GetPublicGetTimeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public get time params
func (*GetPublicGetTimeParams) SetTimeout ¶
func (o *GetPublicGetTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get time params
func (*GetPublicGetTimeParams) WithContext ¶
func (o *GetPublicGetTimeParams) WithContext(ctx context.Context) *GetPublicGetTimeParams
WithContext adds the context to the get public get time params
func (*GetPublicGetTimeParams) WithHTTPClient ¶
func (o *GetPublicGetTimeParams) WithHTTPClient(client *http.Client) *GetPublicGetTimeParams
WithHTTPClient adds the HTTPClient to the get public get time params
func (*GetPublicGetTimeParams) WithTimeout ¶
func (o *GetPublicGetTimeParams) WithTimeout(timeout time.Duration) *GetPublicGetTimeParams
WithTimeout adds the timeout to the get public get time params
func (*GetPublicGetTimeParams) WriteToRequest ¶
func (o *GetPublicGetTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicGetTimeReader ¶
type GetPublicGetTimeReader struct {
// contains filtered or unexported fields
}
GetPublicGetTimeReader is a Reader for the GetPublicGetTime structure.
func (*GetPublicGetTimeReader) ReadResponse ¶
func (o *GetPublicGetTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.