supporting

package
v3.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new supporting API client.

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 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

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

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

WithTimeout adds the timeout to the get public get time params

func (*GetPublicGetTimeParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL