contract

package
v0.0.0-...-b0d199b Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: Apache-2.0 Imports: 12 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 contract API

func New

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

New creates a new contract API client.

func (*Client) GetContractConidInfo

func (a *Client) GetContractConidInfo(params *GetContractConidInfoParams) (*GetContractConidInfoOK, error)

GetContractConidInfo contracts info get contract details, you can use this to prefill your order before you submit an order

func (*Client) GetTrsrvFutures

func (a *Client) GetTrsrvFutures(params *GetTrsrvFuturesParams) (*GetTrsrvFuturesOK, error)

GetTrsrvFutures securities futures by symbol Returns a list of non-expired future contracts for given symbol(s)

func (*Client) PostSecdefSearch

func (a *Client) PostSecdefSearch(params *PostSecdefSearchParams) (*PostSecdefSearchOK, error)

PostSecdefSearch searches by symbol or name

func (*Client) PostTrsrvSecdef

func (a *Client) PostTrsrvSecdef(params *PostTrsrvSecdefParams) (*PostTrsrvSecdefOK, error)

PostTrsrvSecdef secdefs by conid

Returns a list of security definitions for the given conids

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetContractConidInfoOK

type GetContractConidInfoOK struct {
	Payload *models.Contract
}

GetContractConidInfoOK handles this case with default header values.

returns an object

func NewGetContractConidInfoOK

func NewGetContractConidInfoOK() *GetContractConidInfoOK

NewGetContractConidInfoOK creates a GetContractConidInfoOK with default headers values

func (*GetContractConidInfoOK) Error

func (o *GetContractConidInfoOK) Error() string

func (*GetContractConidInfoOK) GetPayload

func (o *GetContractConidInfoOK) GetPayload() *models.Contract

type GetContractConidInfoParams

type GetContractConidInfoParams struct {

	/*Conid
	  contract id

	*/
	Conid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContractConidInfoParams contains all the parameters to send to the API endpoint for the get iserver contract conid info operation typically these are written to a http.Request

func NewGetContractConidInfoParams

func NewGetContractConidInfoParams() *GetContractConidInfoParams

NewGetContractConidInfoParams creates a new GetContractConidInfoParams object with the default values initialized.

func NewGetContractConidInfoParamsWithContext

func NewGetContractConidInfoParamsWithContext(ctx context.Context) *GetContractConidInfoParams

NewGetContractConidInfoParamsWithContext creates a new GetContractConidInfoParams object with the default values initialized, and the ability to set a context for a request

func NewGetContractConidInfoParamsWithHTTPClient

func NewGetContractConidInfoParamsWithHTTPClient(client *http.Client) *GetContractConidInfoParams

NewGetContractConidInfoParamsWithHTTPClient creates a new GetContractConidInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetContractConidInfoParamsWithTimeout

func NewGetContractConidInfoParamsWithTimeout(timeout time.Duration) *GetContractConidInfoParams

NewGetContractConidInfoParamsWithTimeout creates a new GetContractConidInfoParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetContractConidInfoParams) SetConid

func (o *GetContractConidInfoParams) SetConid(conid string)

SetConid adds the conid to the get iserver contract conid info params

func (*GetContractConidInfoParams) SetContext

func (o *GetContractConidInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the get iserver contract conid info params

func (*GetContractConidInfoParams) SetHTTPClient

func (o *GetContractConidInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get iserver contract conid info params

func (*GetContractConidInfoParams) SetTimeout

func (o *GetContractConidInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get iserver contract conid info params

func (*GetContractConidInfoParams) WithConid

WithConid adds the conid to the get iserver contract conid info params

func (*GetContractConidInfoParams) WithContext

WithContext adds the context to the get iserver contract conid info params

func (*GetContractConidInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get iserver contract conid info params

func (*GetContractConidInfoParams) WithTimeout

WithTimeout adds the timeout to the get iserver contract conid info params

func (*GetContractConidInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetContractConidInfoReader

type GetContractConidInfoReader struct {
	// contains filtered or unexported fields
}

GetContractConidInfoReader is a Reader for the GetContractConidInfo structure.

func (*GetContractConidInfoReader) ReadResponse

func (o *GetContractConidInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTrsrvFuturesInternalServerError

type GetTrsrvFuturesInternalServerError struct {
	Payload *GetTrsrvFuturesInternalServerErrorBody
}

GetTrsrvFuturesInternalServerError handles this case with default header values.

error while processing the request

func NewGetTrsrvFuturesInternalServerError

func NewGetTrsrvFuturesInternalServerError() *GetTrsrvFuturesInternalServerError

NewGetTrsrvFuturesInternalServerError creates a GetTrsrvFuturesInternalServerError with default headers values

func (*GetTrsrvFuturesInternalServerError) Error

func (*GetTrsrvFuturesInternalServerError) GetPayload

type GetTrsrvFuturesInternalServerErrorBody

type GetTrsrvFuturesInternalServerErrorBody struct {

	// error
	Error string `json:"error,omitempty"`
}

GetTrsrvFuturesInternalServerErrorBody get trsrv futures internal server error body swagger:model GetTrsrvFuturesInternalServerErrorBody

func (*GetTrsrvFuturesInternalServerErrorBody) MarshalBinary

func (o *GetTrsrvFuturesInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetTrsrvFuturesInternalServerErrorBody) UnmarshalBinary

func (o *GetTrsrvFuturesInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetTrsrvFuturesInternalServerErrorBody) Validate

Validate validates this get trsrv futures internal server error body

type GetTrsrvFuturesOK

type GetTrsrvFuturesOK struct {
	Payload *GetTrsrvFuturesOKBody
}

GetTrsrvFuturesOK handles this case with default header values.

returns an object with symbol and and array of its future contracts

func NewGetTrsrvFuturesOK

func NewGetTrsrvFuturesOK() *GetTrsrvFuturesOK

NewGetTrsrvFuturesOK creates a GetTrsrvFuturesOK with default headers values

func (*GetTrsrvFuturesOK) Error

func (o *GetTrsrvFuturesOK) Error() string

func (*GetTrsrvFuturesOK) GetPayload

func (o *GetTrsrvFuturesOK) GetPayload() *GetTrsrvFuturesOKBody

type GetTrsrvFuturesOKBody

type GetTrsrvFuturesOKBody struct {

	// symbol
	Symbol models.Futures `json:"symbol,omitempty"`
}

GetTrsrvFuturesOKBody get trsrv futures o k body swagger:model GetTrsrvFuturesOKBody

func (*GetTrsrvFuturesOKBody) MarshalBinary

func (o *GetTrsrvFuturesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetTrsrvFuturesOKBody) UnmarshalBinary

func (o *GetTrsrvFuturesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetTrsrvFuturesOKBody) Validate

func (o *GetTrsrvFuturesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get trsrv futures o k body

type GetTrsrvFuturesParams

type GetTrsrvFuturesParams struct {

	/*Symbols
	  list of case-sensitive symbols separated by comma

	*/
	Symbols string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTrsrvFuturesParams contains all the parameters to send to the API endpoint for the get trsrv futures operation typically these are written to a http.Request

func NewGetTrsrvFuturesParams

func NewGetTrsrvFuturesParams() *GetTrsrvFuturesParams

NewGetTrsrvFuturesParams creates a new GetTrsrvFuturesParams object with the default values initialized.

func NewGetTrsrvFuturesParamsWithContext

func NewGetTrsrvFuturesParamsWithContext(ctx context.Context) *GetTrsrvFuturesParams

NewGetTrsrvFuturesParamsWithContext creates a new GetTrsrvFuturesParams object with the default values initialized, and the ability to set a context for a request

func NewGetTrsrvFuturesParamsWithHTTPClient

func NewGetTrsrvFuturesParamsWithHTTPClient(client *http.Client) *GetTrsrvFuturesParams

NewGetTrsrvFuturesParamsWithHTTPClient creates a new GetTrsrvFuturesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTrsrvFuturesParamsWithTimeout

func NewGetTrsrvFuturesParamsWithTimeout(timeout time.Duration) *GetTrsrvFuturesParams

NewGetTrsrvFuturesParamsWithTimeout creates a new GetTrsrvFuturesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTrsrvFuturesParams) SetContext

func (o *GetTrsrvFuturesParams) SetContext(ctx context.Context)

SetContext adds the context to the get trsrv futures params

func (*GetTrsrvFuturesParams) SetHTTPClient

func (o *GetTrsrvFuturesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get trsrv futures params

func (*GetTrsrvFuturesParams) SetSymbols

func (o *GetTrsrvFuturesParams) SetSymbols(symbols string)

SetSymbols adds the symbols to the get trsrv futures params

func (*GetTrsrvFuturesParams) SetTimeout

func (o *GetTrsrvFuturesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get trsrv futures params

func (*GetTrsrvFuturesParams) WithContext

WithContext adds the context to the get trsrv futures params

func (*GetTrsrvFuturesParams) WithHTTPClient

func (o *GetTrsrvFuturesParams) WithHTTPClient(client *http.Client) *GetTrsrvFuturesParams

WithHTTPClient adds the HTTPClient to the get trsrv futures params

func (*GetTrsrvFuturesParams) WithSymbols

func (o *GetTrsrvFuturesParams) WithSymbols(symbols string) *GetTrsrvFuturesParams

WithSymbols adds the symbols to the get trsrv futures params

func (*GetTrsrvFuturesParams) WithTimeout

func (o *GetTrsrvFuturesParams) WithTimeout(timeout time.Duration) *GetTrsrvFuturesParams

WithTimeout adds the timeout to the get trsrv futures params

func (*GetTrsrvFuturesParams) WriteToRequest

func (o *GetTrsrvFuturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTrsrvFuturesReader

type GetTrsrvFuturesReader struct {
	// contains filtered or unexported fields
}

GetTrsrvFuturesReader is a Reader for the GetTrsrvFutures structure.

func (*GetTrsrvFuturesReader) ReadResponse

func (o *GetTrsrvFuturesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostSecdefSearchBody

type PostSecdefSearchBody struct {
	// should be true if the search is to be performed by name. false by default.
	Name bool `json:"name,omitempty"`
	// If search is done by name, only the assets provided in this field will be returned. Currently, only STK is supported.
	SecType string `json:"secType,omitempty"`
	// symbol or name to be searched
	// Required: true
	Symbol *string `json:"symbol"`
}

PostSecdefSearchBody post iserver secdef search body swagger:model PostSecdefSearchBody

func (*PostSecdefSearchBody) MarshalBinary

func (o *PostSecdefSearchBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostSecdefSearchBody) UnmarshalBinary

func (o *PostSecdefSearchBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostSecdefSearchBody) Validate

func (o *PostSecdefSearchBody) Validate(formats strfmt.Registry) error

Validate validates this post iserver secdef search body

type PostSecdefSearchInternalServerError

type PostSecdefSearchInternalServerError struct {
	Payload *PostSecdefSearchInternalServerErrorBody
}

PostSecdefSearchInternalServerError handles this case with default header values. error while processing the request

func NewPostSecdefSearchInternalServerError

func NewPostSecdefSearchInternalServerError() *PostSecdefSearchInternalServerError

NewPostSecdefSearchInternalServerError creates a PostSecdefSearchInternalServerError with default headers values

func (*PostSecdefSearchInternalServerError) Error

func (*PostSecdefSearchInternalServerError) GetPayload

type PostSecdefSearchInternalServerErrorBody

type PostSecdefSearchInternalServerErrorBody struct {
	// error
	Error string `json:"error,omitempty"`
}

PostSecdefSearchInternalServerErrorBody post iserver secdef search internal server error body swagger:model PostSecdefSearchInternalServerErrorBody

func (*PostSecdefSearchInternalServerErrorBody) MarshalBinary

func (o *PostSecdefSearchInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostSecdefSearchInternalServerErrorBody) UnmarshalBinary

func (o *PostSecdefSearchInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostSecdefSearchInternalServerErrorBody) Validate

Validate validates this post iserver secdef search internal server error body

type PostSecdefSearchOK

type PostSecdefSearchOK struct {
	Payload []*PostSecdefSearchOKBodyItems0
}

PostSecdefSearchOK handles this case with default header values.

returns an array of results

func NewPostSecdefSearchOK

func NewPostSecdefSearchOK() *PostSecdefSearchOK

NewPostSecdefSearchOK creates a PostSecdefSearchOK with default headers values

func (*PostSecdefSearchOK) Error

func (o *PostSecdefSearchOK) Error() string

func (*PostSecdefSearchOK) GetPayload

type PostSecdefSearchOKBodyItems0

type PostSecdefSearchOKBodyItems0 struct {
	// company header
	CompanyHeader string `json:"companyHeader,omitempty"`
	// company name
	CompanyName string `json:"companyName,omitempty"`
	// conid
	Conid int64 `json:"conid,omitempty"`
	// description
	Description string `json:"description,omitempty"`
	// opt
	Opt string `json:"opt,omitempty"`
	// sections
	Sections []interface{} `json:"sections"`
	// symbol
	Symbol string `json:"symbol,omitempty"`
	// war
	War string `json:"war,omitempty"`
}

PostSecdefSearchOKBodyItems0 post iserver secdef search o k body items0 swagger:model PostSecdefSearchOKBodyItems0

func (*PostSecdefSearchOKBodyItems0) MarshalBinary

func (o *PostSecdefSearchOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostSecdefSearchOKBodyItems0) UnmarshalBinary

func (o *PostSecdefSearchOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostSecdefSearchOKBodyItems0) Validate

func (o *PostSecdefSearchOKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this post iserver secdef search o k body items0

type PostSecdefSearchParams

type PostSecdefSearchParams struct {
	/*Symbol: symbol or name to be searched */
	Symbol PostSecdefSearchBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostSecdefSearchParams contains all the parameters to send to the API endpoint for the post iserver secdef search operation typically these are written to a http.Request

func NewPostSecdefSearchParams

func NewPostSecdefSearchParams() *PostSecdefSearchParams

NewPostSecdefSearchParams creates a new PostSecdefSearchParams object with the default values initialized.

func NewPostSecdefSearchParamsWithContext

func NewPostSecdefSearchParamsWithContext(ctx context.Context) *PostSecdefSearchParams

NewPostSecdefSearchParamsWithContext creates a new PostSecdefSearchParams object with the default values initialized, and the ability to set a context for a request

func NewPostSecdefSearchParamsWithHTTPClient

func NewPostSecdefSearchParamsWithHTTPClient(client *http.Client) *PostSecdefSearchParams

NewPostSecdefSearchParamsWithHTTPClient creates a new PostSecdefSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostSecdefSearchParamsWithTimeout

func NewPostSecdefSearchParamsWithTimeout(timeout time.Duration) *PostSecdefSearchParams

NewPostSecdefSearchParamsWithTimeout creates a new PostSecdefSearchParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostSecdefSearchParams) SetContext

func (o *PostSecdefSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the post iserver secdef search params

func (*PostSecdefSearchParams) SetHTTPClient

func (o *PostSecdefSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post iserver secdef search params

func (*PostSecdefSearchParams) SetSymbol

func (o *PostSecdefSearchParams) SetSymbol(symbol PostSecdefSearchBody)

SetSymbol adds the symbol to the post iserver secdef search params

func (*PostSecdefSearchParams) SetTimeout

func (o *PostSecdefSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post iserver secdef search params

func (*PostSecdefSearchParams) WithContext

WithContext adds the context to the post iserver secdef search params

func (*PostSecdefSearchParams) WithHTTPClient

func (o *PostSecdefSearchParams) WithHTTPClient(client *http.Client) *PostSecdefSearchParams

WithHTTPClient adds the HTTPClient to the post iserver secdef search params

func (*PostSecdefSearchParams) WithSymbol

WithSymbol adds the symbol to the post iserver secdef search params

func (*PostSecdefSearchParams) WithTimeout

WithTimeout adds the timeout to the post iserver secdef search params

func (*PostSecdefSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostSecdefSearchReader

type PostSecdefSearchReader struct {
	// contains filtered or unexported fields
}

PostSecdefSearchReader is a Reader for the PostSecdefSearch structure.

func (*PostSecdefSearchReader) ReadResponse

func (o *PostSecdefSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostTrsrvSecdefBody

type PostTrsrvSecdefBody struct {

	// conids
	Conids []int64 `json:"conids"`
}

PostTrsrvSecdefBody post trsrv secdef body swagger:model PostTrsrvSecdefBody

func (*PostTrsrvSecdefBody) MarshalBinary

func (o *PostTrsrvSecdefBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostTrsrvSecdefBody) UnmarshalBinary

func (o *PostTrsrvSecdefBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostTrsrvSecdefBody) Validate

func (o *PostTrsrvSecdefBody) Validate(formats strfmt.Registry) error

Validate validates this post trsrv secdef body

type PostTrsrvSecdefOK

type PostTrsrvSecdefOK struct {
	Payload models.Secdef
}

PostTrsrvSecdefOK handles this case with default header values.

returns an array of secdef info

func NewPostTrsrvSecdefOK

func NewPostTrsrvSecdefOK() *PostTrsrvSecdefOK

NewPostTrsrvSecdefOK creates a PostTrsrvSecdefOK with default headers values

func (*PostTrsrvSecdefOK) Error

func (o *PostTrsrvSecdefOK) Error() string

func (*PostTrsrvSecdefOK) GetPayload

func (o *PostTrsrvSecdefOK) GetPayload() models.Secdef

type PostTrsrvSecdefParams

type PostTrsrvSecdefParams struct {

	/*Body
	  request body

	*/
	Body PostTrsrvSecdefBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostTrsrvSecdefParams contains all the parameters to send to the API endpoint for the post trsrv secdef operation typically these are written to a http.Request

func NewPostTrsrvSecdefParams

func NewPostTrsrvSecdefParams() *PostTrsrvSecdefParams

NewPostTrsrvSecdefParams creates a new PostTrsrvSecdefParams object with the default values initialized.

func NewPostTrsrvSecdefParamsWithContext

func NewPostTrsrvSecdefParamsWithContext(ctx context.Context) *PostTrsrvSecdefParams

NewPostTrsrvSecdefParamsWithContext creates a new PostTrsrvSecdefParams object with the default values initialized, and the ability to set a context for a request

func NewPostTrsrvSecdefParamsWithHTTPClient

func NewPostTrsrvSecdefParamsWithHTTPClient(client *http.Client) *PostTrsrvSecdefParams

NewPostTrsrvSecdefParamsWithHTTPClient creates a new PostTrsrvSecdefParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostTrsrvSecdefParamsWithTimeout

func NewPostTrsrvSecdefParamsWithTimeout(timeout time.Duration) *PostTrsrvSecdefParams

NewPostTrsrvSecdefParamsWithTimeout creates a new PostTrsrvSecdefParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostTrsrvSecdefParams) SetBody

func (o *PostTrsrvSecdefParams) SetBody(body PostTrsrvSecdefBody)

SetBody adds the body to the post trsrv secdef params

func (*PostTrsrvSecdefParams) SetContext

func (o *PostTrsrvSecdefParams) SetContext(ctx context.Context)

SetContext adds the context to the post trsrv secdef params

func (*PostTrsrvSecdefParams) SetHTTPClient

func (o *PostTrsrvSecdefParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post trsrv secdef params

func (*PostTrsrvSecdefParams) SetTimeout

func (o *PostTrsrvSecdefParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post trsrv secdef params

func (*PostTrsrvSecdefParams) WithBody

WithBody adds the body to the post trsrv secdef params

func (*PostTrsrvSecdefParams) WithContext

WithContext adds the context to the post trsrv secdef params

func (*PostTrsrvSecdefParams) WithHTTPClient

func (o *PostTrsrvSecdefParams) WithHTTPClient(client *http.Client) *PostTrsrvSecdefParams

WithHTTPClient adds the HTTPClient to the post trsrv secdef params

func (*PostTrsrvSecdefParams) WithTimeout

func (o *PostTrsrvSecdefParams) WithTimeout(timeout time.Duration) *PostTrsrvSecdefParams

WithTimeout adds the timeout to the post trsrv secdef params

func (*PostTrsrvSecdefParams) WriteToRequest

func (o *PostTrsrvSecdefParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostTrsrvSecdefReader

type PostTrsrvSecdefReader struct {
	// contains filtered or unexported fields
}

PostTrsrvSecdefReader is a Reader for the PostTrsrvSecdef structure.

func (*PostTrsrvSecdefReader) ReadResponse

func (o *PostTrsrvSecdefReader) 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