peers

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 13 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 peers API

func New

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

New creates a new peers API client.

func (*Client) Peer

func (a *Client) Peer(params *PeerParams) (*PeerCreated, error)

Peer peerオブジェクトを生成しs sky wayサーバと接続します

Peerオブジェクトを生成し、SkyWayサーバと接続します。SkyWayサーバと正常に接続できた場合のみ201を返します

func (*Client) PeerCredentialUpdate added in v0.3.2

func (a *Client) PeerCredentialUpdate(params *PeerCredentialUpdateParams) (*PeerCredentialUpdateOK, error)

PeerCredentialUpdate peer認証のクレデンシャルを更新しますs

Peer認証のクレデンシャルを更新します。Peer認証機能が有効でなければ、クレデンシャルを更新する要求は無視されます。このとき、エラーイベントは発火しません

func (*Client) PeerDestroy

func (a *Client) PeerDestroy(params *PeerDestroyParams) (*PeerDestroyNoContent, error)

PeerDestroy peerオブジェクトの開放処理を行いますs

Peerオブジェクトを開放し、関連する全てのWebRTCセッションとデータ受け渡しのためのUDPポートをクローズします

func (*Client) PeerEvent

func (a *Client) PeerEvent(params *PeerEventParams) (*PeerEventOK, error)

PeerEvent peerオブジェクトからイベントを取得するのに利用しますs

Long Pollでイベントを監視するのに利用します。連続でイベントが発火する場合があるため常に監視するようにしてください

func (*Client) PeerStatus

func (a *Client) PeerStatus(params *PeerStatusParams) (*PeerStatusOK, error)

PeerStatus peerオブジェクトの状態を取得しますs

Peerオブジェクトの状態を取得します

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PeerBadRequest

type PeerBadRequest struct {
	Payload *PeerBadRequestBody
}

PeerBadRequest handles this case with default header values.

Invalid input

func NewPeerBadRequest

func NewPeerBadRequest() *PeerBadRequest

NewPeerBadRequest creates a PeerBadRequest with default headers values

func (*PeerBadRequest) Error

func (o *PeerBadRequest) Error() string

type PeerBadRequestBody

type PeerBadRequestBody struct {

	// command type
	// Required: true
	CommandType *string `json:"command_type"`

	// params
	// Required: true
	Params *PeerBadRequestBodyParams `json:"params"`
}

PeerBadRequestBody peer bad request body swagger:model PeerBadRequestBody

func (*PeerBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerBadRequestBody) Validate

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

Validate validates this peer bad request body

type PeerBadRequestBodyParams

type PeerBadRequestBodyParams struct {

	// errors
	// Required: true
	Errors []*PeerBadRequestBodyParamsErrorsItems0 `json:"errors"`
}

PeerBadRequestBodyParams peer bad request body params swagger:model PeerBadRequestBodyParams

func (*PeerBadRequestBodyParams) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerBadRequestBodyParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerBadRequestBodyParams) Validate

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

Validate validates this peer bad request body params

type PeerBadRequestBodyParamsErrorsItems0

type PeerBadRequestBodyParamsErrorsItems0 struct {

	// field
	Field string `json:"field,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

PeerBadRequestBodyParamsErrorsItems0 peer bad request body params errors items0 swagger:model PeerBadRequestBodyParamsErrorsItems0

func (*PeerBadRequestBodyParamsErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerBadRequestBodyParamsErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerBadRequestBodyParamsErrorsItems0) Validate

Validate validates this peer bad request body params errors items0

type PeerCreated

type PeerCreated struct {
	Payload *models.PeerResponse
}

PeerCreated handles this case with default header values.

Created

func NewPeerCreated

func NewPeerCreated() *PeerCreated

NewPeerCreated creates a PeerCreated with default headers values

func (*PeerCreated) Error

func (o *PeerCreated) Error() string

type PeerCredentialUpdateBadRequest added in v0.3.2

type PeerCredentialUpdateBadRequest struct {
	Payload *PeerCredentialUpdateBadRequestBody
}

PeerCredentialUpdateBadRequest handles this case with default header values.

Invalid input

func NewPeerCredentialUpdateBadRequest added in v0.3.2

func NewPeerCredentialUpdateBadRequest() *PeerCredentialUpdateBadRequest

NewPeerCredentialUpdateBadRequest creates a PeerCredentialUpdateBadRequest with default headers values

func (*PeerCredentialUpdateBadRequest) Error added in v0.3.2

type PeerCredentialUpdateBadRequestBody added in v0.3.2

type PeerCredentialUpdateBadRequestBody struct {

	// command type
	// Required: true
	CommandType *string `json:"command_type"`

	// params
	// Required: true
	Params *PeerCredentialUpdateBadRequestBodyParams `json:"params"`
}

PeerCredentialUpdateBadRequestBody peer credential update bad request body swagger:model PeerCredentialUpdateBadRequestBody

func (*PeerCredentialUpdateBadRequestBody) MarshalBinary added in v0.3.2

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

MarshalBinary interface implementation

func (*PeerCredentialUpdateBadRequestBody) UnmarshalBinary added in v0.3.2

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

UnmarshalBinary interface implementation

func (*PeerCredentialUpdateBadRequestBody) Validate added in v0.3.2

Validate validates this peer credential update bad request body

type PeerCredentialUpdateBadRequestBodyParams added in v0.3.2

type PeerCredentialUpdateBadRequestBodyParams struct {

	// errors
	// Required: true
	Errors []*PeerCredentialUpdateBadRequestBodyParamsErrorsItems0 `json:"errors"`
}

PeerCredentialUpdateBadRequestBodyParams peer credential update bad request body params swagger:model PeerCredentialUpdateBadRequestBodyParams

func (*PeerCredentialUpdateBadRequestBodyParams) MarshalBinary added in v0.3.2

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

MarshalBinary interface implementation

func (*PeerCredentialUpdateBadRequestBodyParams) UnmarshalBinary added in v0.3.2

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

UnmarshalBinary interface implementation

func (*PeerCredentialUpdateBadRequestBodyParams) Validate added in v0.3.2

Validate validates this peer credential update bad request body params

type PeerCredentialUpdateBadRequestBodyParamsErrorsItems0 added in v0.3.2

type PeerCredentialUpdateBadRequestBodyParamsErrorsItems0 struct {

	// field
	Field string `json:"field,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

PeerCredentialUpdateBadRequestBodyParamsErrorsItems0 peer credential update bad request body params errors items0 swagger:model PeerCredentialUpdateBadRequestBodyParamsErrorsItems0

func (*PeerCredentialUpdateBadRequestBodyParamsErrorsItems0) MarshalBinary added in v0.3.2

MarshalBinary interface implementation

func (*PeerCredentialUpdateBadRequestBodyParamsErrorsItems0) UnmarshalBinary added in v0.3.2

UnmarshalBinary interface implementation

func (*PeerCredentialUpdateBadRequestBodyParamsErrorsItems0) Validate added in v0.3.2

Validate validates this peer credential update bad request body params errors items0

type PeerCredentialUpdateForbidden added in v0.3.2

type PeerCredentialUpdateForbidden struct {
}

PeerCredentialUpdateForbidden handles this case with default header values.

Forbidden(tokenが間違っている場合)

func NewPeerCredentialUpdateForbidden added in v0.3.2

func NewPeerCredentialUpdateForbidden() *PeerCredentialUpdateForbidden

NewPeerCredentialUpdateForbidden creates a PeerCredentialUpdateForbidden with default headers values

func (*PeerCredentialUpdateForbidden) Error added in v0.3.2

type PeerCredentialUpdateNotFound added in v0.3.2

type PeerCredentialUpdateNotFound struct {
}

PeerCredentialUpdateNotFound handles this case with default header values.

Not Found(peer_idが間違っている場合)

func NewPeerCredentialUpdateNotFound added in v0.3.2

func NewPeerCredentialUpdateNotFound() *PeerCredentialUpdateNotFound

NewPeerCredentialUpdateNotFound creates a PeerCredentialUpdateNotFound with default headers values

func (*PeerCredentialUpdateNotFound) Error added in v0.3.2

type PeerCredentialUpdateOK added in v0.3.2

type PeerCredentialUpdateOK struct {
	Payload *PeerCredentialUpdateOKBody
}

PeerCredentialUpdateOK handles this case with default header values.

Ok

func NewPeerCredentialUpdateOK added in v0.3.2

func NewPeerCredentialUpdateOK() *PeerCredentialUpdateOK

NewPeerCredentialUpdateOK creates a PeerCredentialUpdateOK with default headers values

func (*PeerCredentialUpdateOK) Error added in v0.3.2

func (o *PeerCredentialUpdateOK) Error() string

type PeerCredentialUpdateOKBody added in v0.3.2

type PeerCredentialUpdateOKBody struct {

	// command type
	CommandType string `json:"command_type,omitempty"`

	// params
	Params *PeerCredentialUpdateOKBodyParams `json:"params,omitempty"`
}

PeerCredentialUpdateOKBody peer credential update o k body swagger:model PeerCredentialUpdateOKBody

func (*PeerCredentialUpdateOKBody) MarshalBinary added in v0.3.2

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

MarshalBinary interface implementation

func (*PeerCredentialUpdateOKBody) UnmarshalBinary added in v0.3.2

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

UnmarshalBinary interface implementation

func (*PeerCredentialUpdateOKBody) Validate added in v0.3.2

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

Validate validates this peer credential update o k body

type PeerCredentialUpdateOKBodyParams added in v0.3.2

type PeerCredentialUpdateOKBodyParams struct {

	// credential
	Credential *models.PeerCredential `json:"credential,omitempty"`
}

PeerCredentialUpdateOKBodyParams peer credential update o k body params swagger:model PeerCredentialUpdateOKBodyParams

func (*PeerCredentialUpdateOKBodyParams) MarshalBinary added in v0.3.2

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

MarshalBinary interface implementation

func (*PeerCredentialUpdateOKBodyParams) UnmarshalBinary added in v0.3.2

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

UnmarshalBinary interface implementation

func (*PeerCredentialUpdateOKBodyParams) Validate added in v0.3.2

Validate validates this peer credential update o k body params

type PeerCredentialUpdateParams added in v0.3.2

type PeerCredentialUpdateParams struct {

	/*Credential
	  Peerを認証するためのクレデンシャルです

	*/
	Credential *models.PeerCredential
	/*PeerID
	  他のピアがこのピアへ接続するときに使われるIDです。Peerオブジェクトの特定にも利用します

	*/
	PeerID string
	/*Token
	  Peerオブジェクトを利用するために必要なトークンです。他のユーザのリソースに対する誤操作防止のために指定します

	*/
	Token string

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

PeerCredentialUpdateParams contains all the parameters to send to the API endpoint for the peer credential update operation typically these are written to a http.Request

func NewPeerCredentialUpdateParams added in v0.3.2

func NewPeerCredentialUpdateParams() *PeerCredentialUpdateParams

NewPeerCredentialUpdateParams creates a new PeerCredentialUpdateParams object with the default values initialized.

func NewPeerCredentialUpdateParamsWithContext added in v0.3.2

func NewPeerCredentialUpdateParamsWithContext(ctx context.Context) *PeerCredentialUpdateParams

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

func NewPeerCredentialUpdateParamsWithHTTPClient added in v0.3.2

func NewPeerCredentialUpdateParamsWithHTTPClient(client *http.Client) *PeerCredentialUpdateParams

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

func NewPeerCredentialUpdateParamsWithTimeout added in v0.3.2

func NewPeerCredentialUpdateParamsWithTimeout(timeout time.Duration) *PeerCredentialUpdateParams

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

func (*PeerCredentialUpdateParams) SetContext added in v0.3.2

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

SetContext adds the context to the peer credential update params

func (*PeerCredentialUpdateParams) SetCredential added in v0.3.2

func (o *PeerCredentialUpdateParams) SetCredential(credential *models.PeerCredential)

SetCredential adds the credential to the peer credential update params

func (*PeerCredentialUpdateParams) SetHTTPClient added in v0.3.2

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

SetHTTPClient adds the HTTPClient to the peer credential update params

func (*PeerCredentialUpdateParams) SetPeerID added in v0.3.2

func (o *PeerCredentialUpdateParams) SetPeerID(peerID string)

SetPeerID adds the peerId to the peer credential update params

func (*PeerCredentialUpdateParams) SetTimeout added in v0.3.2

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

SetTimeout adds the timeout to the peer credential update params

func (*PeerCredentialUpdateParams) SetToken added in v0.3.2

func (o *PeerCredentialUpdateParams) SetToken(token string)

SetToken adds the token to the peer credential update params

func (*PeerCredentialUpdateParams) WithContext added in v0.3.2

WithContext adds the context to the peer credential update params

func (*PeerCredentialUpdateParams) WithCredential added in v0.3.2

WithCredential adds the credential to the peer credential update params

func (*PeerCredentialUpdateParams) WithHTTPClient added in v0.3.2

WithHTTPClient adds the HTTPClient to the peer credential update params

func (*PeerCredentialUpdateParams) WithPeerID added in v0.3.2

WithPeerID adds the peerID to the peer credential update params

func (*PeerCredentialUpdateParams) WithTimeout added in v0.3.2

WithTimeout adds the timeout to the peer credential update params

func (*PeerCredentialUpdateParams) WithToken added in v0.3.2

WithToken adds the token to the peer credential update params

func (*PeerCredentialUpdateParams) WriteToRequest added in v0.3.2

WriteToRequest writes these params to a swagger request

type PeerCredentialUpdateReader added in v0.3.2

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

PeerCredentialUpdateReader is a Reader for the PeerCredentialUpdate structure.

func (*PeerCredentialUpdateReader) ReadResponse added in v0.3.2

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

ReadResponse reads a server response into the received o.

type PeerDestroyBadRequest

type PeerDestroyBadRequest struct {
	Payload *PeerDestroyBadRequestBody
}

PeerDestroyBadRequest handles this case with default header values.

Invalid input

func NewPeerDestroyBadRequest

func NewPeerDestroyBadRequest() *PeerDestroyBadRequest

NewPeerDestroyBadRequest creates a PeerDestroyBadRequest with default headers values

func (*PeerDestroyBadRequest) Error

func (o *PeerDestroyBadRequest) Error() string

type PeerDestroyBadRequestBody

type PeerDestroyBadRequestBody struct {

	// command type
	// Required: true
	CommandType *string `json:"command_type"`

	// params
	// Required: true
	Params *PeerDestroyBadRequestBodyParams `json:"params"`
}

PeerDestroyBadRequestBody peer destroy bad request body swagger:model PeerDestroyBadRequestBody

func (*PeerDestroyBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerDestroyBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerDestroyBadRequestBody) Validate

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

Validate validates this peer destroy bad request body

type PeerDestroyBadRequestBodyParams

type PeerDestroyBadRequestBodyParams struct {

	// errors
	// Required: true
	Errors []*PeerDestroyBadRequestBodyParamsErrorsItems0 `json:"errors"`
}

PeerDestroyBadRequestBodyParams peer destroy bad request body params swagger:model PeerDestroyBadRequestBodyParams

func (*PeerDestroyBadRequestBodyParams) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerDestroyBadRequestBodyParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerDestroyBadRequestBodyParams) Validate

Validate validates this peer destroy bad request body params

type PeerDestroyBadRequestBodyParamsErrorsItems0

type PeerDestroyBadRequestBodyParamsErrorsItems0 struct {

	// field
	Field string `json:"field,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

PeerDestroyBadRequestBodyParamsErrorsItems0 peer destroy bad request body params errors items0 swagger:model PeerDestroyBadRequestBodyParamsErrorsItems0

func (*PeerDestroyBadRequestBodyParamsErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerDestroyBadRequestBodyParamsErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerDestroyBadRequestBodyParamsErrorsItems0) Validate

Validate validates this peer destroy bad request body params errors items0

type PeerDestroyForbidden

type PeerDestroyForbidden struct {
}

PeerDestroyForbidden handles this case with default header values.

Forbidden(key, domainが間違っている場合)

func NewPeerDestroyForbidden

func NewPeerDestroyForbidden() *PeerDestroyForbidden

NewPeerDestroyForbidden creates a PeerDestroyForbidden with default headers values

func (*PeerDestroyForbidden) Error

func (o *PeerDestroyForbidden) Error() string

type PeerDestroyMethodNotAllowed

type PeerDestroyMethodNotAllowed struct {
}

PeerDestroyMethodNotAllowed handles this case with default header values.

Method Not Allowed

func NewPeerDestroyMethodNotAllowed

func NewPeerDestroyMethodNotAllowed() *PeerDestroyMethodNotAllowed

NewPeerDestroyMethodNotAllowed creates a PeerDestroyMethodNotAllowed with default headers values

func (*PeerDestroyMethodNotAllowed) Error

type PeerDestroyNoContent

type PeerDestroyNoContent struct {
}

PeerDestroyNoContent handles this case with default header values.

No Content

func NewPeerDestroyNoContent

func NewPeerDestroyNoContent() *PeerDestroyNoContent

NewPeerDestroyNoContent creates a PeerDestroyNoContent with default headers values

func (*PeerDestroyNoContent) Error

func (o *PeerDestroyNoContent) Error() string

type PeerDestroyNotAcceptable

type PeerDestroyNotAcceptable struct {
}

PeerDestroyNotAcceptable handles this case with default header values.

Not Acceptable

func NewPeerDestroyNotAcceptable

func NewPeerDestroyNotAcceptable() *PeerDestroyNotAcceptable

NewPeerDestroyNotAcceptable creates a PeerDestroyNotAcceptable with default headers values

func (*PeerDestroyNotAcceptable) Error

func (o *PeerDestroyNotAcceptable) Error() string

type PeerDestroyNotFound

type PeerDestroyNotFound struct {
}

PeerDestroyNotFound handles this case with default header values.

Not Found(peer_idが間違っている場合)

func NewPeerDestroyNotFound

func NewPeerDestroyNotFound() *PeerDestroyNotFound

NewPeerDestroyNotFound creates a PeerDestroyNotFound with default headers values

func (*PeerDestroyNotFound) Error

func (o *PeerDestroyNotFound) Error() string

type PeerDestroyParams

type PeerDestroyParams struct {

	/*PeerID
	  他のピアがこのピアへ接続するときに使われるIDです。Peerオブジェクトの特定にも利用します

	*/
	PeerID string
	/*Token
	  Peerオブジェクトを利用するために必要なトークンです。他のユーザのリソースに対する誤操作防止のために指定します

	*/
	Token string

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

PeerDestroyParams contains all the parameters to send to the API endpoint for the peer destroy operation typically these are written to a http.Request

func NewPeerDestroyParams

func NewPeerDestroyParams() *PeerDestroyParams

NewPeerDestroyParams creates a new PeerDestroyParams object with the default values initialized.

func NewPeerDestroyParamsWithContext

func NewPeerDestroyParamsWithContext(ctx context.Context) *PeerDestroyParams

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

func NewPeerDestroyParamsWithHTTPClient

func NewPeerDestroyParamsWithHTTPClient(client *http.Client) *PeerDestroyParams

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

func NewPeerDestroyParamsWithTimeout

func NewPeerDestroyParamsWithTimeout(timeout time.Duration) *PeerDestroyParams

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

func (*PeerDestroyParams) SetContext

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

SetContext adds the context to the peer destroy params

func (*PeerDestroyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the peer destroy params

func (*PeerDestroyParams) SetPeerID

func (o *PeerDestroyParams) SetPeerID(peerID string)

SetPeerID adds the peerId to the peer destroy params

func (*PeerDestroyParams) SetTimeout

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

SetTimeout adds the timeout to the peer destroy params

func (*PeerDestroyParams) SetToken

func (o *PeerDestroyParams) SetToken(token string)

SetToken adds the token to the peer destroy params

func (*PeerDestroyParams) WithContext

func (o *PeerDestroyParams) WithContext(ctx context.Context) *PeerDestroyParams

WithContext adds the context to the peer destroy params

func (*PeerDestroyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the peer destroy params

func (*PeerDestroyParams) WithPeerID

func (o *PeerDestroyParams) WithPeerID(peerID string) *PeerDestroyParams

WithPeerID adds the peerID to the peer destroy params

func (*PeerDestroyParams) WithTimeout

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

WithTimeout adds the timeout to the peer destroy params

func (*PeerDestroyParams) WithToken

func (o *PeerDestroyParams) WithToken(token string) *PeerDestroyParams

WithToken adds the token to the peer destroy params

func (*PeerDestroyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PeerDestroyReader

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

PeerDestroyReader is a Reader for the PeerDestroy structure.

func (*PeerDestroyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PeerDestroyRequestTimeout

type PeerDestroyRequestTimeout struct {
}

PeerDestroyRequestTimeout handles this case with default header values.

Request Timeout

func NewPeerDestroyRequestTimeout

func NewPeerDestroyRequestTimeout() *PeerDestroyRequestTimeout

NewPeerDestroyRequestTimeout creates a PeerDestroyRequestTimeout with default headers values

func (*PeerDestroyRequestTimeout) Error

func (o *PeerDestroyRequestTimeout) Error() string

type PeerEventBadRequest

type PeerEventBadRequest struct {
	Payload *PeerEventBadRequestBody
}

PeerEventBadRequest handles this case with default header values.

Invalid input

func NewPeerEventBadRequest

func NewPeerEventBadRequest() *PeerEventBadRequest

NewPeerEventBadRequest creates a PeerEventBadRequest with default headers values

func (*PeerEventBadRequest) Error

func (o *PeerEventBadRequest) Error() string

type PeerEventBadRequestBody

type PeerEventBadRequestBody struct {

	// command type
	// Required: true
	CommandType *string `json:"command_type"`

	// params
	// Required: true
	Params *PeerEventBadRequestBodyParams `json:"params"`
}

PeerEventBadRequestBody peer event bad request body swagger:model PeerEventBadRequestBody

func (*PeerEventBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerEventBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerEventBadRequestBody) Validate

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

Validate validates this peer event bad request body

type PeerEventBadRequestBodyParams

type PeerEventBadRequestBodyParams struct {

	// errors
	// Required: true
	Errors []*PeerEventBadRequestBodyParamsErrorsItems0 `json:"errors"`
}

PeerEventBadRequestBodyParams peer event bad request body params swagger:model PeerEventBadRequestBodyParams

func (*PeerEventBadRequestBodyParams) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerEventBadRequestBodyParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerEventBadRequestBodyParams) Validate

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

Validate validates this peer event bad request body params

type PeerEventBadRequestBodyParamsErrorsItems0

type PeerEventBadRequestBodyParamsErrorsItems0 struct {

	// field
	Field string `json:"field,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

PeerEventBadRequestBodyParamsErrorsItems0 peer event bad request body params errors items0 swagger:model PeerEventBadRequestBodyParamsErrorsItems0

func (*PeerEventBadRequestBodyParamsErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerEventBadRequestBodyParamsErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerEventBadRequestBodyParamsErrorsItems0) Validate

Validate validates this peer event bad request body params errors items0

type PeerEventForbidden

type PeerEventForbidden struct {
}

PeerEventForbidden handles this case with default header values.

Forbidden(tokenが間違っている場合)

func NewPeerEventForbidden

func NewPeerEventForbidden() *PeerEventForbidden

NewPeerEventForbidden creates a PeerEventForbidden with default headers values

func (*PeerEventForbidden) Error

func (o *PeerEventForbidden) Error() string

type PeerEventMethodNotAllowed

type PeerEventMethodNotAllowed struct {
}

PeerEventMethodNotAllowed handles this case with default header values.

Method Not Allowed

func NewPeerEventMethodNotAllowed

func NewPeerEventMethodNotAllowed() *PeerEventMethodNotAllowed

NewPeerEventMethodNotAllowed creates a PeerEventMethodNotAllowed with default headers values

func (*PeerEventMethodNotAllowed) Error

func (o *PeerEventMethodNotAllowed) Error() string

type PeerEventNotAcceptable

type PeerEventNotAcceptable struct {
}

PeerEventNotAcceptable handles this case with default header values.

Not Acceptable

func NewPeerEventNotAcceptable

func NewPeerEventNotAcceptable() *PeerEventNotAcceptable

NewPeerEventNotAcceptable creates a PeerEventNotAcceptable with default headers values

func (*PeerEventNotAcceptable) Error

func (o *PeerEventNotAcceptable) Error() string

type PeerEventNotFound

type PeerEventNotFound struct {
}

PeerEventNotFound handles this case with default header values.

Not Found(peer_idが間違っている場合)

func NewPeerEventNotFound

func NewPeerEventNotFound() *PeerEventNotFound

NewPeerEventNotFound creates a PeerEventNotFound with default headers values

func (*PeerEventNotFound) Error

func (o *PeerEventNotFound) Error() string

type PeerEventOK

type PeerEventOK struct {
	Payload *models.PeerEventMessage
}

PeerEventOK handles this case with default header values.

successful operation

func NewPeerEventOK

func NewPeerEventOK() *PeerEventOK

NewPeerEventOK creates a PeerEventOK with default headers values

func (*PeerEventOK) Error

func (o *PeerEventOK) Error() string

type PeerEventParams

type PeerEventParams struct {

	/*PeerID
	  接続対象のPeerのidを指定します

	*/
	PeerID string
	/*Token
	  Peerオブジェクトを利用するために必要なトークンです。他のユーザのリソースに対する誤操作防止のために指定します

	*/
	Token string

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

PeerEventParams contains all the parameters to send to the API endpoint for the peer event operation typically these are written to a http.Request

func NewPeerEventParams

func NewPeerEventParams() *PeerEventParams

NewPeerEventParams creates a new PeerEventParams object with the default values initialized.

func NewPeerEventParamsWithContext

func NewPeerEventParamsWithContext(ctx context.Context) *PeerEventParams

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

func NewPeerEventParamsWithHTTPClient

func NewPeerEventParamsWithHTTPClient(client *http.Client) *PeerEventParams

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

func NewPeerEventParamsWithTimeout

func NewPeerEventParamsWithTimeout(timeout time.Duration) *PeerEventParams

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

func (*PeerEventParams) SetContext

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

SetContext adds the context to the peer event params

func (*PeerEventParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the peer event params

func (*PeerEventParams) SetPeerID

func (o *PeerEventParams) SetPeerID(peerID string)

SetPeerID adds the peerId to the peer event params

func (*PeerEventParams) SetTimeout

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

SetTimeout adds the timeout to the peer event params

func (*PeerEventParams) SetToken

func (o *PeerEventParams) SetToken(token string)

SetToken adds the token to the peer event params

func (*PeerEventParams) WithContext

func (o *PeerEventParams) WithContext(ctx context.Context) *PeerEventParams

WithContext adds the context to the peer event params

func (*PeerEventParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the peer event params

func (*PeerEventParams) WithPeerID

func (o *PeerEventParams) WithPeerID(peerID string) *PeerEventParams

WithPeerID adds the peerID to the peer event params

func (*PeerEventParams) WithTimeout

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

WithTimeout adds the timeout to the peer event params

func (*PeerEventParams) WithToken

func (o *PeerEventParams) WithToken(token string) *PeerEventParams

WithToken adds the token to the peer event params

func (*PeerEventParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PeerEventReader

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

PeerEventReader is a Reader for the PeerEvent structure.

func (*PeerEventReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PeerEventRequestTimeout

type PeerEventRequestTimeout struct {
}

PeerEventRequestTimeout handles this case with default header values.

Request Timeout

func NewPeerEventRequestTimeout

func NewPeerEventRequestTimeout() *PeerEventRequestTimeout

NewPeerEventRequestTimeout creates a PeerEventRequestTimeout with default headers values

func (*PeerEventRequestTimeout) Error

func (o *PeerEventRequestTimeout) Error() string

type PeerForbidden

type PeerForbidden struct {
}

PeerForbidden handles this case with default header values.

Forbidden(key, domainが間違っている場合)

func NewPeerForbidden

func NewPeerForbidden() *PeerForbidden

NewPeerForbidden creates a PeerForbidden with default headers values

func (*PeerForbidden) Error

func (o *PeerForbidden) Error() string

type PeerMethodNotAllowed

type PeerMethodNotAllowed struct {
}

PeerMethodNotAllowed handles this case with default header values.

Method Not Allowed

func NewPeerMethodNotAllowed

func NewPeerMethodNotAllowed() *PeerMethodNotAllowed

NewPeerMethodNotAllowed creates a PeerMethodNotAllowed with default headers values

func (*PeerMethodNotAllowed) Error

func (o *PeerMethodNotAllowed) Error() string

type PeerNotAcceptable

type PeerNotAcceptable struct {
}

PeerNotAcceptable handles this case with default header values.

Not Acceptable

func NewPeerNotAcceptable

func NewPeerNotAcceptable() *PeerNotAcceptable

NewPeerNotAcceptable creates a PeerNotAcceptable with default headers values

func (*PeerNotAcceptable) Error

func (o *PeerNotAcceptable) Error() string

type PeerParams

type PeerParams struct {

	/*Body
	  SkyWayサーバへアクセスするための情報を指定します。Peerの認証機能が有効になっている場合は、クレデンシャルが必要です

	*/
	Body *models.PeerOptions

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

PeerParams contains all the parameters to send to the API endpoint for the peer operation typically these are written to a http.Request

func NewPeerParams

func NewPeerParams() *PeerParams

NewPeerParams creates a new PeerParams object with the default values initialized.

func NewPeerParamsWithContext

func NewPeerParamsWithContext(ctx context.Context) *PeerParams

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

func NewPeerParamsWithHTTPClient

func NewPeerParamsWithHTTPClient(client *http.Client) *PeerParams

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

func NewPeerParamsWithTimeout

func NewPeerParamsWithTimeout(timeout time.Duration) *PeerParams

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

func (*PeerParams) SetBody

func (o *PeerParams) SetBody(body *models.PeerOptions)

SetBody adds the body to the peer params

func (*PeerParams) SetContext

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

SetContext adds the context to the peer params

func (*PeerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the peer params

func (*PeerParams) SetTimeout

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

SetTimeout adds the timeout to the peer params

func (*PeerParams) WithBody

func (o *PeerParams) WithBody(body *models.PeerOptions) *PeerParams

WithBody adds the body to the peer params

func (*PeerParams) WithContext

func (o *PeerParams) WithContext(ctx context.Context) *PeerParams

WithContext adds the context to the peer params

func (*PeerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the peer params

func (*PeerParams) WithTimeout

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

WithTimeout adds the timeout to the peer params

func (*PeerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PeerReader

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

PeerReader is a Reader for the Peer structure.

func (*PeerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PeerRequestTimeout

type PeerRequestTimeout struct {
}

PeerRequestTimeout handles this case with default header values.

Request Timeout

func NewPeerRequestTimeout

func NewPeerRequestTimeout() *PeerRequestTimeout

NewPeerRequestTimeout creates a PeerRequestTimeout with default headers values

func (*PeerRequestTimeout) Error

func (o *PeerRequestTimeout) Error() string

type PeerStatusBadRequest

type PeerStatusBadRequest struct {
	Payload *PeerStatusBadRequestBody
}

PeerStatusBadRequest handles this case with default header values.

Invalid input

func NewPeerStatusBadRequest

func NewPeerStatusBadRequest() *PeerStatusBadRequest

NewPeerStatusBadRequest creates a PeerStatusBadRequest with default headers values

func (*PeerStatusBadRequest) Error

func (o *PeerStatusBadRequest) Error() string

type PeerStatusBadRequestBody

type PeerStatusBadRequestBody struct {

	// command type
	// Required: true
	CommandType *string `json:"command_type"`

	// params
	// Required: true
	Params *PeerStatusBadRequestBodyParams `json:"params"`
}

PeerStatusBadRequestBody peer status bad request body swagger:model PeerStatusBadRequestBody

func (*PeerStatusBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerStatusBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerStatusBadRequestBody) Validate

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

Validate validates this peer status bad request body

type PeerStatusBadRequestBodyParams

type PeerStatusBadRequestBodyParams struct {

	// errors
	// Required: true
	Errors []*PeerStatusBadRequestBodyParamsErrorsItems0 `json:"errors"`
}

PeerStatusBadRequestBodyParams peer status bad request body params swagger:model PeerStatusBadRequestBodyParams

func (*PeerStatusBadRequestBodyParams) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerStatusBadRequestBodyParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerStatusBadRequestBodyParams) Validate

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

Validate validates this peer status bad request body params

type PeerStatusBadRequestBodyParamsErrorsItems0

type PeerStatusBadRequestBodyParamsErrorsItems0 struct {

	// field
	Field string `json:"field,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

PeerStatusBadRequestBodyParamsErrorsItems0 peer status bad request body params errors items0 swagger:model PeerStatusBadRequestBodyParamsErrorsItems0

func (*PeerStatusBadRequestBodyParamsErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerStatusBadRequestBodyParamsErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerStatusBadRequestBodyParamsErrorsItems0) Validate

Validate validates this peer status bad request body params errors items0

type PeerStatusForbidden

type PeerStatusForbidden struct {
}

PeerStatusForbidden handles this case with default header values.

Forbidden(tokenが間違っている場合)

func NewPeerStatusForbidden

func NewPeerStatusForbidden() *PeerStatusForbidden

NewPeerStatusForbidden creates a PeerStatusForbidden with default headers values

func (*PeerStatusForbidden) Error

func (o *PeerStatusForbidden) Error() string

type PeerStatusMethodNotAllowed

type PeerStatusMethodNotAllowed struct {
}

PeerStatusMethodNotAllowed handles this case with default header values.

Method Not Allowed

func NewPeerStatusMethodNotAllowed

func NewPeerStatusMethodNotAllowed() *PeerStatusMethodNotAllowed

NewPeerStatusMethodNotAllowed creates a PeerStatusMethodNotAllowed with default headers values

func (*PeerStatusMethodNotAllowed) Error

type PeerStatusNotAcceptable

type PeerStatusNotAcceptable struct {
}

PeerStatusNotAcceptable handles this case with default header values.

Not Acceptable

func NewPeerStatusNotAcceptable

func NewPeerStatusNotAcceptable() *PeerStatusNotAcceptable

NewPeerStatusNotAcceptable creates a PeerStatusNotAcceptable with default headers values

func (*PeerStatusNotAcceptable) Error

func (o *PeerStatusNotAcceptable) Error() string

type PeerStatusNotFound

type PeerStatusNotFound struct {
}

PeerStatusNotFound handles this case with default header values.

Not Found(peer_idが間違っている場合)

func NewPeerStatusNotFound

func NewPeerStatusNotFound() *PeerStatusNotFound

NewPeerStatusNotFound creates a PeerStatusNotFound with default headers values

func (*PeerStatusNotFound) Error

func (o *PeerStatusNotFound) Error() string

type PeerStatusOK

type PeerStatusOK struct {
	Payload *models.PeerStatusMessage
}

PeerStatusOK handles this case with default header values.

successful operation

func NewPeerStatusOK

func NewPeerStatusOK() *PeerStatusOK

NewPeerStatusOK creates a PeerStatusOK with default headers values

func (*PeerStatusOK) Error

func (o *PeerStatusOK) Error() string

type PeerStatusParams

type PeerStatusParams struct {

	/*PeerID
	  接続対象のPeerのidを指定します

	*/
	PeerID string
	/*Token
	  Peerオブジェクトを利用するために必要なトークンです。他のユーザのリソースに対する誤操作防止のために指定します

	*/
	Token string

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

PeerStatusParams contains all the parameters to send to the API endpoint for the peer status operation typically these are written to a http.Request

func NewPeerStatusParams

func NewPeerStatusParams() *PeerStatusParams

NewPeerStatusParams creates a new PeerStatusParams object with the default values initialized.

func NewPeerStatusParamsWithContext

func NewPeerStatusParamsWithContext(ctx context.Context) *PeerStatusParams

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

func NewPeerStatusParamsWithHTTPClient

func NewPeerStatusParamsWithHTTPClient(client *http.Client) *PeerStatusParams

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

func NewPeerStatusParamsWithTimeout

func NewPeerStatusParamsWithTimeout(timeout time.Duration) *PeerStatusParams

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

func (*PeerStatusParams) SetContext

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

SetContext adds the context to the peer status params

func (*PeerStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the peer status params

func (*PeerStatusParams) SetPeerID

func (o *PeerStatusParams) SetPeerID(peerID string)

SetPeerID adds the peerId to the peer status params

func (*PeerStatusParams) SetTimeout

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

SetTimeout adds the timeout to the peer status params

func (*PeerStatusParams) SetToken

func (o *PeerStatusParams) SetToken(token string)

SetToken adds the token to the peer status params

func (*PeerStatusParams) WithContext

func (o *PeerStatusParams) WithContext(ctx context.Context) *PeerStatusParams

WithContext adds the context to the peer status params

func (*PeerStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the peer status params

func (*PeerStatusParams) WithPeerID

func (o *PeerStatusParams) WithPeerID(peerID string) *PeerStatusParams

WithPeerID adds the peerID to the peer status params

func (*PeerStatusParams) WithTimeout

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

WithTimeout adds the timeout to the peer status params

func (*PeerStatusParams) WithToken

func (o *PeerStatusParams) WithToken(token string) *PeerStatusParams

WithToken adds the token to the peer status params

func (*PeerStatusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PeerStatusReader

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

PeerStatusReader is a Reader for the PeerStatus structure.

func (*PeerStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PeerStatusRequestTimeout

type PeerStatusRequestTimeout struct {
}

PeerStatusRequestTimeout handles this case with default header values.

Request Timeout

func NewPeerStatusRequestTimeout

func NewPeerStatusRequestTimeout() *PeerStatusRequestTimeout

NewPeerStatusRequestTimeout creates a PeerStatusRequestTimeout with default headers values

func (*PeerStatusRequestTimeout) Error

func (o *PeerStatusRequestTimeout) Error() string

Jump to

Keyboard shortcuts

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