dapp_controller

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 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 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

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

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

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

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

WithTimeout adds the timeout to the get dapp info using g e t params

func (*GetDappInfoUsingGETParams) WithURL

WithURL adds the url to the get dapp info using g e t params

func (*GetDappInfoUsingGETParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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