Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetDappInfoUsingGETForbidden
- type GetDappInfoUsingGETNotFound
- type GetDappInfoUsingGETOK
- type GetDappInfoUsingGETParams
- func NewGetDappInfoUsingGETParams() *GetDappInfoUsingGETParams
- func NewGetDappInfoUsingGETParamsWithContext(ctx context.Context) *GetDappInfoUsingGETParams
- func NewGetDappInfoUsingGETParamsWithHTTPClient(client *http.Client) *GetDappInfoUsingGETParams
- func NewGetDappInfoUsingGETParamsWithTimeout(timeout time.Duration) *GetDappInfoUsingGETParams
- func (o *GetDappInfoUsingGETParams) SetAuthorization(authorization *string)
- func (o *GetDappInfoUsingGETParams) SetContext(ctx context.Context)
- func (o *GetDappInfoUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetDappInfoUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetDappInfoUsingGETParams) SetURL(url *string)
- func (o *GetDappInfoUsingGETParams) WithAuthorization(authorization *string) *GetDappInfoUsingGETParams
- func (o *GetDappInfoUsingGETParams) WithContext(ctx context.Context) *GetDappInfoUsingGETParams
- func (o *GetDappInfoUsingGETParams) WithHTTPClient(client *http.Client) *GetDappInfoUsingGETParams
- func (o *GetDappInfoUsingGETParams) WithTimeout(timeout time.Duration) *GetDappInfoUsingGETParams
- func (o *GetDappInfoUsingGETParams) WithURL(url *string) *GetDappInfoUsingGETParams
- func (o *GetDappInfoUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDappInfoUsingGETReader
- type GetDappInfoUsingGETUnauthorized
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 dapp controller API
func (*Client) GetDappInfoUsingGET ¶
func (a *Client) GetDappInfoUsingGET(params *GetDappInfoUsingGETParams) (*GetDappInfoUsingGETOK, error)
GetDappInfoUsingGET checks risk of dapp through URL
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetDappInfoUsingGET(params *GetDappInfoUsingGETParams) (*GetDappInfoUsingGETOK, 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 dapp controller API client.
type GetDappInfoUsingGETForbidden ¶
type GetDappInfoUsingGETForbidden struct { }
GetDappInfoUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetDappInfoUsingGETForbidden ¶
func NewGetDappInfoUsingGETForbidden() *GetDappInfoUsingGETForbidden
NewGetDappInfoUsingGETForbidden creates a GetDappInfoUsingGETForbidden with default headers values
func (*GetDappInfoUsingGETForbidden) Error ¶
func (o *GetDappInfoUsingGETForbidden) Error() string
type GetDappInfoUsingGETNotFound ¶
type GetDappInfoUsingGETNotFound struct { }
GetDappInfoUsingGETNotFound handles this case with default header values.
Not Found
func NewGetDappInfoUsingGETNotFound ¶
func NewGetDappInfoUsingGETNotFound() *GetDappInfoUsingGETNotFound
NewGetDappInfoUsingGETNotFound creates a GetDappInfoUsingGETNotFound with default headers values
func (*GetDappInfoUsingGETNotFound) Error ¶
func (o *GetDappInfoUsingGETNotFound) Error() string
type GetDappInfoUsingGETOK ¶
type GetDappInfoUsingGETOK struct {
Payload *models.ResponseWrapperDappContractSecurityResponse
}
GetDappInfoUsingGETOK handles this case with default header values.
OK
func NewGetDappInfoUsingGETOK ¶
func NewGetDappInfoUsingGETOK() *GetDappInfoUsingGETOK
NewGetDappInfoUsingGETOK creates a GetDappInfoUsingGETOK with default headers values
func (*GetDappInfoUsingGETOK) Error ¶
func (o *GetDappInfoUsingGETOK) Error() string
func (*GetDappInfoUsingGETOK) GetPayload ¶
func (o *GetDappInfoUsingGETOK) GetPayload() *models.ResponseWrapperDappContractSecurityResponse
type GetDappInfoUsingGETParams ¶
type GetDappInfoUsingGETParams struct { /*Authorization Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) */ Authorization *string /*URL Url or domain */ URL *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDappInfoUsingGETParams contains all the parameters to send to the API endpoint for the get dapp info using g e t operation typically these are written to a http.Request
func NewGetDappInfoUsingGETParams ¶
func NewGetDappInfoUsingGETParams() *GetDappInfoUsingGETParams
NewGetDappInfoUsingGETParams creates a new GetDappInfoUsingGETParams object with the default values initialized.
func NewGetDappInfoUsingGETParamsWithContext ¶
func NewGetDappInfoUsingGETParamsWithContext(ctx context.Context) *GetDappInfoUsingGETParams
NewGetDappInfoUsingGETParamsWithContext creates a new GetDappInfoUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetDappInfoUsingGETParamsWithHTTPClient ¶
func NewGetDappInfoUsingGETParamsWithHTTPClient(client *http.Client) *GetDappInfoUsingGETParams
NewGetDappInfoUsingGETParamsWithHTTPClient creates a new GetDappInfoUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDappInfoUsingGETParamsWithTimeout ¶
func NewGetDappInfoUsingGETParamsWithTimeout(timeout time.Duration) *GetDappInfoUsingGETParams
NewGetDappInfoUsingGETParamsWithTimeout creates a new GetDappInfoUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDappInfoUsingGETParams) SetAuthorization ¶
func (o *GetDappInfoUsingGETParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) SetContext ¶
func (o *GetDappInfoUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) SetHTTPClient ¶
func (o *GetDappInfoUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) SetTimeout ¶
func (o *GetDappInfoUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) SetURL ¶
func (o *GetDappInfoUsingGETParams) SetURL(url *string)
SetURL adds the url to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) WithAuthorization ¶
func (o *GetDappInfoUsingGETParams) WithAuthorization(authorization *string) *GetDappInfoUsingGETParams
WithAuthorization adds the authorization to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) WithContext ¶
func (o *GetDappInfoUsingGETParams) WithContext(ctx context.Context) *GetDappInfoUsingGETParams
WithContext adds the context to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) WithHTTPClient ¶
func (o *GetDappInfoUsingGETParams) WithHTTPClient(client *http.Client) *GetDappInfoUsingGETParams
WithHTTPClient adds the HTTPClient to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) WithTimeout ¶
func (o *GetDappInfoUsingGETParams) WithTimeout(timeout time.Duration) *GetDappInfoUsingGETParams
WithTimeout adds the timeout to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) WithURL ¶
func (o *GetDappInfoUsingGETParams) WithURL(url *string) *GetDappInfoUsingGETParams
WithURL adds the url to the get dapp info using g e t params
func (*GetDappInfoUsingGETParams) WriteToRequest ¶
func (o *GetDappInfoUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDappInfoUsingGETReader ¶
type GetDappInfoUsingGETReader struct {
// contains filtered or unexported fields
}
GetDappInfoUsingGETReader is a Reader for the GetDappInfoUsingGET structure.
func (*GetDappInfoUsingGETReader) ReadResponse ¶
func (o *GetDappInfoUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDappInfoUsingGETUnauthorized ¶
type GetDappInfoUsingGETUnauthorized struct { }
GetDappInfoUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetDappInfoUsingGETUnauthorized ¶
func NewGetDappInfoUsingGETUnauthorized() *GetDappInfoUsingGETUnauthorized
NewGetDappInfoUsingGETUnauthorized creates a GetDappInfoUsingGETUnauthorized with default headers values
func (*GetDappInfoUsingGETUnauthorized) Error ¶
func (o *GetDappInfoUsingGETUnauthorized) Error() string