package
2.0.1+incompatible
Repository: https://github.com/practical-coder/hdc.git
Documentation: pkg.go.dev

# Functions

New creates a new peer API client.
NewCreatePeerAccepted creates a CreatePeerAccepted with default headers values.
NewCreatePeerBadRequest creates a CreatePeerBadRequest with default headers values.
NewCreatePeerConflict creates a CreatePeerConflict with default headers values.
NewCreatePeerCreated creates a CreatePeerCreated with default headers values.
NewCreatePeerDefault creates a CreatePeerDefault with default headers values.
NewCreatePeerParams creates a new CreatePeerParams object, with the default timeout for this client.
NewCreatePeerParamsWithContext creates a new CreatePeerParams object with the ability to set a context for a request.
NewCreatePeerParamsWithHTTPClient creates a new CreatePeerParams object with the ability to set a custom HTTPClient for a request.
NewCreatePeerParamsWithTimeout creates a new CreatePeerParams object with the ability to set a timeout on a request.
NewDeletePeerAccepted creates a DeletePeerAccepted with default headers values.
NewDeletePeerDefault creates a DeletePeerDefault with default headers values.
NewDeletePeerNoContent creates a DeletePeerNoContent with default headers values.
NewDeletePeerNotFound creates a DeletePeerNotFound with default headers values.
NewDeletePeerParams creates a new DeletePeerParams object, with the default timeout for this client.
NewDeletePeerParamsWithContext creates a new DeletePeerParams object with the ability to set a context for a request.
NewDeletePeerParamsWithHTTPClient creates a new DeletePeerParams object with the ability to set a custom HTTPClient for a request.
NewDeletePeerParamsWithTimeout creates a new DeletePeerParams object with the ability to set a timeout on a request.
NewGetPeerSectionDefault creates a GetPeerSectionDefault with default headers values.
NewGetPeerSectionNotFound creates a GetPeerSectionNotFound with default headers values.
NewGetPeerSectionOK creates a GetPeerSectionOK with default headers values.
NewGetPeerSectionParams creates a new GetPeerSectionParams object, with the default timeout for this client.
NewGetPeerSectionParamsWithContext creates a new GetPeerSectionParams object with the ability to set a context for a request.
NewGetPeerSectionParamsWithHTTPClient creates a new GetPeerSectionParams object with the ability to set a custom HTTPClient for a request.
NewGetPeerSectionParamsWithTimeout creates a new GetPeerSectionParams object with the ability to set a timeout on a request.
NewGetPeerSectionsDefault creates a GetPeerSectionsDefault with default headers values.
NewGetPeerSectionsOK creates a GetPeerSectionsOK with default headers values.
NewGetPeerSectionsParams creates a new GetPeerSectionsParams object, with the default timeout for this client.
NewGetPeerSectionsParamsWithContext creates a new GetPeerSectionsParams object with the ability to set a context for a request.
NewGetPeerSectionsParamsWithHTTPClient creates a new GetPeerSectionsParams object with the ability to set a custom HTTPClient for a request.
NewGetPeerSectionsParamsWithTimeout creates a new GetPeerSectionsParams object with the ability to set a timeout on a request.

# Structs

Client for peer API */.
CreatePeerAccepted describes a response with status code 202, with default header values.
CreatePeerBadRequest describes a response with status code 400, with default header values.
CreatePeerConflict describes a response with status code 409, with default header values.
CreatePeerCreated describes a response with status code 201, with default header values.
CreatePeerDefault describes a response with status code -1, with default header values.
CreatePeerParams contains all the parameters to send to the API endpoint for the create peer operation.
CreatePeerReader is a Reader for the CreatePeer structure.
DeletePeerAccepted describes a response with status code 202, with default header values.
DeletePeerDefault describes a response with status code -1, with default header values.
DeletePeerNoContent describes a response with status code 204, with default header values.
DeletePeerNotFound describes a response with status code 404, with default header values.
DeletePeerParams contains all the parameters to send to the API endpoint for the delete peer operation.
DeletePeerReader is a Reader for the DeletePeer structure.
GetPeerSectionDefault describes a response with status code -1, with default header values.
GetPeerSectionNotFound describes a response with status code 404, with default header values.
GetPeerSectionOK describes a response with status code 200, with default header values.
GetPeerSectionOKBody get peer section o k body swagger:model GetPeerSectionOKBody */.
GetPeerSectionParams contains all the parameters to send to the API endpoint for the get peer section operation.
GetPeerSectionReader is a Reader for the GetPeerSection structure.
GetPeerSectionsDefault describes a response with status code -1, with default header values.
GetPeerSectionsOK describes a response with status code 200, with default header values.
GetPeerSectionsOKBody get peer sections o k body swagger:model GetPeerSectionsOKBody */.
GetPeerSectionsParams contains all the parameters to send to the API endpoint for the get peer sections operation.
GetPeerSectionsReader is a Reader for the GetPeerSections structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.