Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SignRawPayload(params *SignRawPayloadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SignRawPayloadOK, error)
- func (a *Client) SignRawPayloads(params *SignRawPayloadsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SignRawPayloadsOK, error)
- func (a *Client) SignTransaction(params *SignTransactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SignTransactionOK, error)
- type ClientOption
- type ClientService
- type SignRawPayloadOK
- func (o *SignRawPayloadOK) Code() int
- func (o *SignRawPayloadOK) Error() string
- func (o *SignRawPayloadOK) GetPayload() *models.ActivityResponse
- func (o *SignRawPayloadOK) IsClientError() bool
- func (o *SignRawPayloadOK) IsCode(code int) bool
- func (o *SignRawPayloadOK) IsRedirect() bool
- func (o *SignRawPayloadOK) IsServerError() bool
- func (o *SignRawPayloadOK) IsSuccess() bool
- func (o *SignRawPayloadOK) String() string
- type SignRawPayloadParams
- func NewSignRawPayloadParams() *SignRawPayloadParams
- func NewSignRawPayloadParamsWithContext(ctx context.Context) *SignRawPayloadParams
- func NewSignRawPayloadParamsWithHTTPClient(client *http.Client) *SignRawPayloadParams
- func NewSignRawPayloadParamsWithTimeout(timeout time.Duration) *SignRawPayloadParams
- func (o *SignRawPayloadParams) SetBody(body *models.SignRawPayloadRequest)
- func (o *SignRawPayloadParams) SetContext(ctx context.Context)
- func (o *SignRawPayloadParams) SetDefaults()
- func (o *SignRawPayloadParams) SetHTTPClient(client *http.Client)
- func (o *SignRawPayloadParams) SetTimeout(timeout time.Duration)
- func (o *SignRawPayloadParams) WithBody(body *models.SignRawPayloadRequest) *SignRawPayloadParams
- func (o *SignRawPayloadParams) WithContext(ctx context.Context) *SignRawPayloadParams
- func (o *SignRawPayloadParams) WithDefaults() *SignRawPayloadParams
- func (o *SignRawPayloadParams) WithHTTPClient(client *http.Client) *SignRawPayloadParams
- func (o *SignRawPayloadParams) WithTimeout(timeout time.Duration) *SignRawPayloadParams
- func (o *SignRawPayloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SignRawPayloadReader
- type SignRawPayloadsOK
- func (o *SignRawPayloadsOK) Code() int
- func (o *SignRawPayloadsOK) Error() string
- func (o *SignRawPayloadsOK) GetPayload() *models.ActivityResponse
- func (o *SignRawPayloadsOK) IsClientError() bool
- func (o *SignRawPayloadsOK) IsCode(code int) bool
- func (o *SignRawPayloadsOK) IsRedirect() bool
- func (o *SignRawPayloadsOK) IsServerError() bool
- func (o *SignRawPayloadsOK) IsSuccess() bool
- func (o *SignRawPayloadsOK) String() string
- type SignRawPayloadsParams
- func NewSignRawPayloadsParams() *SignRawPayloadsParams
- func NewSignRawPayloadsParamsWithContext(ctx context.Context) *SignRawPayloadsParams
- func NewSignRawPayloadsParamsWithHTTPClient(client *http.Client) *SignRawPayloadsParams
- func NewSignRawPayloadsParamsWithTimeout(timeout time.Duration) *SignRawPayloadsParams
- func (o *SignRawPayloadsParams) SetBody(body *models.SignRawPayloadsRequest)
- func (o *SignRawPayloadsParams) SetContext(ctx context.Context)
- func (o *SignRawPayloadsParams) SetDefaults()
- func (o *SignRawPayloadsParams) SetHTTPClient(client *http.Client)
- func (o *SignRawPayloadsParams) SetTimeout(timeout time.Duration)
- func (o *SignRawPayloadsParams) WithBody(body *models.SignRawPayloadsRequest) *SignRawPayloadsParams
- func (o *SignRawPayloadsParams) WithContext(ctx context.Context) *SignRawPayloadsParams
- func (o *SignRawPayloadsParams) WithDefaults() *SignRawPayloadsParams
- func (o *SignRawPayloadsParams) WithHTTPClient(client *http.Client) *SignRawPayloadsParams
- func (o *SignRawPayloadsParams) WithTimeout(timeout time.Duration) *SignRawPayloadsParams
- func (o *SignRawPayloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SignRawPayloadsReader
- type SignTransactionOK
- func (o *SignTransactionOK) Code() int
- func (o *SignTransactionOK) Error() string
- func (o *SignTransactionOK) GetPayload() *models.ActivityResponse
- func (o *SignTransactionOK) IsClientError() bool
- func (o *SignTransactionOK) IsCode(code int) bool
- func (o *SignTransactionOK) IsRedirect() bool
- func (o *SignTransactionOK) IsServerError() bool
- func (o *SignTransactionOK) IsSuccess() bool
- func (o *SignTransactionOK) String() string
- type SignTransactionParams
- func NewSignTransactionParams() *SignTransactionParams
- func NewSignTransactionParamsWithContext(ctx context.Context) *SignTransactionParams
- func NewSignTransactionParamsWithHTTPClient(client *http.Client) *SignTransactionParams
- func NewSignTransactionParamsWithTimeout(timeout time.Duration) *SignTransactionParams
- func (o *SignTransactionParams) SetBody(body *models.SignTransactionRequest)
- func (o *SignTransactionParams) SetContext(ctx context.Context)
- func (o *SignTransactionParams) SetDefaults()
- func (o *SignTransactionParams) SetHTTPClient(client *http.Client)
- func (o *SignTransactionParams) SetTimeout(timeout time.Duration)
- func (o *SignTransactionParams) WithBody(body *models.SignTransactionRequest) *SignTransactionParams
- func (o *SignTransactionParams) WithContext(ctx context.Context) *SignTransactionParams
- func (o *SignTransactionParams) WithDefaults() *SignTransactionParams
- func (o *SignTransactionParams) WithHTTPClient(client *http.Client) *SignTransactionParams
- func (o *SignTransactionParams) WithTimeout(timeout time.Duration) *SignTransactionParams
- func (o *SignTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SignTransactionReader
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 signing API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SignRawPayload ¶
func (a *Client) SignRawPayload(params *SignRawPayloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignRawPayloadOK, error)
SignRawPayload signs raw payload
Sign a raw payload
func (*Client) SignRawPayloads ¶
func (a *Client) SignRawPayloads(params *SignRawPayloadsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignRawPayloadsOK, error)
SignRawPayloads signs raw payloads
Sign multiple raw payloads with the same signing parameters
func (*Client) SignTransaction ¶
func (a *Client) SignTransaction(params *SignTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignTransactionOK, error)
SignTransaction signs transaction
Sign a transaction
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SignRawPayload(params *SignRawPayloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignRawPayloadOK, error) SignRawPayloads(params *SignRawPayloadsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignRawPayloadsOK, error) SignTransaction(params *SignTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignTransactionOK, 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 signing API client.
type SignRawPayloadOK ¶
type SignRawPayloadOK struct {
Payload *models.ActivityResponse
}
SignRawPayloadOK describes a response with status code 200, with default header values.
A successful response.
func NewSignRawPayloadOK ¶
func NewSignRawPayloadOK() *SignRawPayloadOK
NewSignRawPayloadOK creates a SignRawPayloadOK with default headers values
func (*SignRawPayloadOK) Code ¶
func (o *SignRawPayloadOK) Code() int
Code gets the status code for the sign raw payload o k response
func (*SignRawPayloadOK) Error ¶
func (o *SignRawPayloadOK) Error() string
func (*SignRawPayloadOK) GetPayload ¶
func (o *SignRawPayloadOK) GetPayload() *models.ActivityResponse
func (*SignRawPayloadOK) IsClientError ¶
func (o *SignRawPayloadOK) IsClientError() bool
IsClientError returns true when this sign raw payload o k response has a 4xx status code
func (*SignRawPayloadOK) IsCode ¶
func (o *SignRawPayloadOK) IsCode(code int) bool
IsCode returns true when this sign raw payload o k response a status code equal to that given
func (*SignRawPayloadOK) IsRedirect ¶
func (o *SignRawPayloadOK) IsRedirect() bool
IsRedirect returns true when this sign raw payload o k response has a 3xx status code
func (*SignRawPayloadOK) IsServerError ¶
func (o *SignRawPayloadOK) IsServerError() bool
IsServerError returns true when this sign raw payload o k response has a 5xx status code
func (*SignRawPayloadOK) IsSuccess ¶
func (o *SignRawPayloadOK) IsSuccess() bool
IsSuccess returns true when this sign raw payload o k response has a 2xx status code
func (*SignRawPayloadOK) String ¶
func (o *SignRawPayloadOK) String() string
type SignRawPayloadParams ¶
type SignRawPayloadParams struct { // Body. Body *models.SignRawPayloadRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SignRawPayloadParams contains all the parameters to send to the API endpoint
for the sign raw payload operation. Typically these are written to a http.Request.
func NewSignRawPayloadParams ¶
func NewSignRawPayloadParams() *SignRawPayloadParams
NewSignRawPayloadParams creates a new SignRawPayloadParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSignRawPayloadParamsWithContext ¶
func NewSignRawPayloadParamsWithContext(ctx context.Context) *SignRawPayloadParams
NewSignRawPayloadParamsWithContext creates a new SignRawPayloadParams object with the ability to set a context for a request.
func NewSignRawPayloadParamsWithHTTPClient ¶
func NewSignRawPayloadParamsWithHTTPClient(client *http.Client) *SignRawPayloadParams
NewSignRawPayloadParamsWithHTTPClient creates a new SignRawPayloadParams object with the ability to set a custom HTTPClient for a request.
func NewSignRawPayloadParamsWithTimeout ¶
func NewSignRawPayloadParamsWithTimeout(timeout time.Duration) *SignRawPayloadParams
NewSignRawPayloadParamsWithTimeout creates a new SignRawPayloadParams object with the ability to set a timeout on a request.
func (*SignRawPayloadParams) SetBody ¶
func (o *SignRawPayloadParams) SetBody(body *models.SignRawPayloadRequest)
SetBody adds the body to the sign raw payload params
func (*SignRawPayloadParams) SetContext ¶
func (o *SignRawPayloadParams) SetContext(ctx context.Context)
SetContext adds the context to the sign raw payload params
func (*SignRawPayloadParams) SetDefaults ¶
func (o *SignRawPayloadParams) SetDefaults()
SetDefaults hydrates default values in the sign raw payload params (not the query body).
All values with no default are reset to their zero value.
func (*SignRawPayloadParams) SetHTTPClient ¶
func (o *SignRawPayloadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sign raw payload params
func (*SignRawPayloadParams) SetTimeout ¶
func (o *SignRawPayloadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sign raw payload params
func (*SignRawPayloadParams) WithBody ¶
func (o *SignRawPayloadParams) WithBody(body *models.SignRawPayloadRequest) *SignRawPayloadParams
WithBody adds the body to the sign raw payload params
func (*SignRawPayloadParams) WithContext ¶
func (o *SignRawPayloadParams) WithContext(ctx context.Context) *SignRawPayloadParams
WithContext adds the context to the sign raw payload params
func (*SignRawPayloadParams) WithDefaults ¶
func (o *SignRawPayloadParams) WithDefaults() *SignRawPayloadParams
WithDefaults hydrates default values in the sign raw payload params (not the query body).
All values with no default are reset to their zero value.
func (*SignRawPayloadParams) WithHTTPClient ¶
func (o *SignRawPayloadParams) WithHTTPClient(client *http.Client) *SignRawPayloadParams
WithHTTPClient adds the HTTPClient to the sign raw payload params
func (*SignRawPayloadParams) WithTimeout ¶
func (o *SignRawPayloadParams) WithTimeout(timeout time.Duration) *SignRawPayloadParams
WithTimeout adds the timeout to the sign raw payload params
func (*SignRawPayloadParams) WriteToRequest ¶
func (o *SignRawPayloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SignRawPayloadReader ¶
type SignRawPayloadReader struct {
// contains filtered or unexported fields
}
SignRawPayloadReader is a Reader for the SignRawPayload structure.
func (*SignRawPayloadReader) ReadResponse ¶
func (o *SignRawPayloadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SignRawPayloadsOK ¶
type SignRawPayloadsOK struct {
Payload *models.ActivityResponse
}
SignRawPayloadsOK describes a response with status code 200, with default header values.
A successful response.
func NewSignRawPayloadsOK ¶
func NewSignRawPayloadsOK() *SignRawPayloadsOK
NewSignRawPayloadsOK creates a SignRawPayloadsOK with default headers values
func (*SignRawPayloadsOK) Code ¶
func (o *SignRawPayloadsOK) Code() int
Code gets the status code for the sign raw payloads o k response
func (*SignRawPayloadsOK) Error ¶
func (o *SignRawPayloadsOK) Error() string
func (*SignRawPayloadsOK) GetPayload ¶
func (o *SignRawPayloadsOK) GetPayload() *models.ActivityResponse
func (*SignRawPayloadsOK) IsClientError ¶
func (o *SignRawPayloadsOK) IsClientError() bool
IsClientError returns true when this sign raw payloads o k response has a 4xx status code
func (*SignRawPayloadsOK) IsCode ¶
func (o *SignRawPayloadsOK) IsCode(code int) bool
IsCode returns true when this sign raw payloads o k response a status code equal to that given
func (*SignRawPayloadsOK) IsRedirect ¶
func (o *SignRawPayloadsOK) IsRedirect() bool
IsRedirect returns true when this sign raw payloads o k response has a 3xx status code
func (*SignRawPayloadsOK) IsServerError ¶
func (o *SignRawPayloadsOK) IsServerError() bool
IsServerError returns true when this sign raw payloads o k response has a 5xx status code
func (*SignRawPayloadsOK) IsSuccess ¶
func (o *SignRawPayloadsOK) IsSuccess() bool
IsSuccess returns true when this sign raw payloads o k response has a 2xx status code
func (*SignRawPayloadsOK) String ¶
func (o *SignRawPayloadsOK) String() string
type SignRawPayloadsParams ¶
type SignRawPayloadsParams struct { // Body. Body *models.SignRawPayloadsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SignRawPayloadsParams contains all the parameters to send to the API endpoint
for the sign raw payloads operation. Typically these are written to a http.Request.
func NewSignRawPayloadsParams ¶
func NewSignRawPayloadsParams() *SignRawPayloadsParams
NewSignRawPayloadsParams creates a new SignRawPayloadsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSignRawPayloadsParamsWithContext ¶
func NewSignRawPayloadsParamsWithContext(ctx context.Context) *SignRawPayloadsParams
NewSignRawPayloadsParamsWithContext creates a new SignRawPayloadsParams object with the ability to set a context for a request.
func NewSignRawPayloadsParamsWithHTTPClient ¶
func NewSignRawPayloadsParamsWithHTTPClient(client *http.Client) *SignRawPayloadsParams
NewSignRawPayloadsParamsWithHTTPClient creates a new SignRawPayloadsParams object with the ability to set a custom HTTPClient for a request.
func NewSignRawPayloadsParamsWithTimeout ¶
func NewSignRawPayloadsParamsWithTimeout(timeout time.Duration) *SignRawPayloadsParams
NewSignRawPayloadsParamsWithTimeout creates a new SignRawPayloadsParams object with the ability to set a timeout on a request.
func (*SignRawPayloadsParams) SetBody ¶
func (o *SignRawPayloadsParams) SetBody(body *models.SignRawPayloadsRequest)
SetBody adds the body to the sign raw payloads params
func (*SignRawPayloadsParams) SetContext ¶
func (o *SignRawPayloadsParams) SetContext(ctx context.Context)
SetContext adds the context to the sign raw payloads params
func (*SignRawPayloadsParams) SetDefaults ¶
func (o *SignRawPayloadsParams) SetDefaults()
SetDefaults hydrates default values in the sign raw payloads params (not the query body).
All values with no default are reset to their zero value.
func (*SignRawPayloadsParams) SetHTTPClient ¶
func (o *SignRawPayloadsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sign raw payloads params
func (*SignRawPayloadsParams) SetTimeout ¶
func (o *SignRawPayloadsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sign raw payloads params
func (*SignRawPayloadsParams) WithBody ¶
func (o *SignRawPayloadsParams) WithBody(body *models.SignRawPayloadsRequest) *SignRawPayloadsParams
WithBody adds the body to the sign raw payloads params
func (*SignRawPayloadsParams) WithContext ¶
func (o *SignRawPayloadsParams) WithContext(ctx context.Context) *SignRawPayloadsParams
WithContext adds the context to the sign raw payloads params
func (*SignRawPayloadsParams) WithDefaults ¶
func (o *SignRawPayloadsParams) WithDefaults() *SignRawPayloadsParams
WithDefaults hydrates default values in the sign raw payloads params (not the query body).
All values with no default are reset to their zero value.
func (*SignRawPayloadsParams) WithHTTPClient ¶
func (o *SignRawPayloadsParams) WithHTTPClient(client *http.Client) *SignRawPayloadsParams
WithHTTPClient adds the HTTPClient to the sign raw payloads params
func (*SignRawPayloadsParams) WithTimeout ¶
func (o *SignRawPayloadsParams) WithTimeout(timeout time.Duration) *SignRawPayloadsParams
WithTimeout adds the timeout to the sign raw payloads params
func (*SignRawPayloadsParams) WriteToRequest ¶
func (o *SignRawPayloadsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SignRawPayloadsReader ¶
type SignRawPayloadsReader struct {
// contains filtered or unexported fields
}
SignRawPayloadsReader is a Reader for the SignRawPayloads structure.
func (*SignRawPayloadsReader) ReadResponse ¶
func (o *SignRawPayloadsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SignTransactionOK ¶
type SignTransactionOK struct {
Payload *models.ActivityResponse
}
SignTransactionOK describes a response with status code 200, with default header values.
A successful response.
func NewSignTransactionOK ¶
func NewSignTransactionOK() *SignTransactionOK
NewSignTransactionOK creates a SignTransactionOK with default headers values
func (*SignTransactionOK) Code ¶
func (o *SignTransactionOK) Code() int
Code gets the status code for the sign transaction o k response
func (*SignTransactionOK) Error ¶
func (o *SignTransactionOK) Error() string
func (*SignTransactionOK) GetPayload ¶
func (o *SignTransactionOK) GetPayload() *models.ActivityResponse
func (*SignTransactionOK) IsClientError ¶
func (o *SignTransactionOK) IsClientError() bool
IsClientError returns true when this sign transaction o k response has a 4xx status code
func (*SignTransactionOK) IsCode ¶
func (o *SignTransactionOK) IsCode(code int) bool
IsCode returns true when this sign transaction o k response a status code equal to that given
func (*SignTransactionOK) IsRedirect ¶
func (o *SignTransactionOK) IsRedirect() bool
IsRedirect returns true when this sign transaction o k response has a 3xx status code
func (*SignTransactionOK) IsServerError ¶
func (o *SignTransactionOK) IsServerError() bool
IsServerError returns true when this sign transaction o k response has a 5xx status code
func (*SignTransactionOK) IsSuccess ¶
func (o *SignTransactionOK) IsSuccess() bool
IsSuccess returns true when this sign transaction o k response has a 2xx status code
func (*SignTransactionOK) String ¶
func (o *SignTransactionOK) String() string
type SignTransactionParams ¶
type SignTransactionParams struct { // Body. Body *models.SignTransactionRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SignTransactionParams contains all the parameters to send to the API endpoint
for the sign transaction operation. Typically these are written to a http.Request.
func NewSignTransactionParams ¶
func NewSignTransactionParams() *SignTransactionParams
NewSignTransactionParams creates a new SignTransactionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSignTransactionParamsWithContext ¶
func NewSignTransactionParamsWithContext(ctx context.Context) *SignTransactionParams
NewSignTransactionParamsWithContext creates a new SignTransactionParams object with the ability to set a context for a request.
func NewSignTransactionParamsWithHTTPClient ¶
func NewSignTransactionParamsWithHTTPClient(client *http.Client) *SignTransactionParams
NewSignTransactionParamsWithHTTPClient creates a new SignTransactionParams object with the ability to set a custom HTTPClient for a request.
func NewSignTransactionParamsWithTimeout ¶
func NewSignTransactionParamsWithTimeout(timeout time.Duration) *SignTransactionParams
NewSignTransactionParamsWithTimeout creates a new SignTransactionParams object with the ability to set a timeout on a request.
func (*SignTransactionParams) SetBody ¶
func (o *SignTransactionParams) SetBody(body *models.SignTransactionRequest)
SetBody adds the body to the sign transaction params
func (*SignTransactionParams) SetContext ¶
func (o *SignTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the sign transaction params
func (*SignTransactionParams) SetDefaults ¶
func (o *SignTransactionParams) SetDefaults()
SetDefaults hydrates default values in the sign transaction params (not the query body).
All values with no default are reset to their zero value.
func (*SignTransactionParams) SetHTTPClient ¶
func (o *SignTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sign transaction params
func (*SignTransactionParams) SetTimeout ¶
func (o *SignTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sign transaction params
func (*SignTransactionParams) WithBody ¶
func (o *SignTransactionParams) WithBody(body *models.SignTransactionRequest) *SignTransactionParams
WithBody adds the body to the sign transaction params
func (*SignTransactionParams) WithContext ¶
func (o *SignTransactionParams) WithContext(ctx context.Context) *SignTransactionParams
WithContext adds the context to the sign transaction params
func (*SignTransactionParams) WithDefaults ¶
func (o *SignTransactionParams) WithDefaults() *SignTransactionParams
WithDefaults hydrates default values in the sign transaction params (not the query body).
All values with no default are reset to their zero value.
func (*SignTransactionParams) WithHTTPClient ¶
func (o *SignTransactionParams) WithHTTPClient(client *http.Client) *SignTransactionParams
WithHTTPClient adds the HTTPClient to the sign transaction params
func (*SignTransactionParams) WithTimeout ¶
func (o *SignTransactionParams) WithTimeout(timeout time.Duration) *SignTransactionParams
WithTimeout adds the timeout to the sign transaction params
func (*SignTransactionParams) WriteToRequest ¶
func (o *SignTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SignTransactionReader ¶
type SignTransactionReader struct {
// contains filtered or unexported fields
}
SignTransactionReader is a Reader for the SignTransaction structure.
func (*SignTransactionReader) ReadResponse ¶
func (o *SignTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.