package
0.0.0-20220220150921-67cd95e079fa
Repository: https://github.com/yuyz0112/cloudtower-go-sdk.git
Documentation: pkg.go.dev

# Functions

New creates a new witness API client.
NewGetWitnessesBadRequest creates a GetWitnessesBadRequest with default headers values.
NewGetWitnessesConnectionBadRequest creates a GetWitnessesConnectionBadRequest with default headers values.
NewGetWitnessesConnectionOK creates a GetWitnessesConnectionOK with default headers values.
NewGetWitnessesConnectionParams creates a new GetWitnessesConnectionParams object, with the default timeout for this client.
NewGetWitnessesConnectionParamsWithContext creates a new GetWitnessesConnectionParams object with the ability to set a context for a request.
NewGetWitnessesConnectionParamsWithHTTPClient creates a new GetWitnessesConnectionParams object with the ability to set a custom HTTPClient for a request.
NewGetWitnessesConnectionParamsWithTimeout creates a new GetWitnessesConnectionParams object with the ability to set a timeout on a request.
NewGetWitnessesOK creates a GetWitnessesOK with default headers values.
NewGetWitnessesParams creates a new GetWitnessesParams object, with the default timeout for this client.
NewGetWitnessesParamsWithContext creates a new GetWitnessesParams object with the ability to set a context for a request.
NewGetWitnessesParamsWithHTTPClient creates a new GetWitnessesParams object with the ability to set a custom HTTPClient for a request.
NewGetWitnessesParamsWithTimeout creates a new GetWitnessesParams object with the ability to set a timeout on a request.

# Structs

Client for witness API */.
GetWitnessesBadRequest describes a response with status code 400, with default header values.
GetWitnessesConnectionBadRequest describes a response with status code 400, with default header values.
GetWitnessesConnectionOK describes a response with status code 200, with default header values.
GetWitnessesConnectionParams contains all the parameters to send to the API endpoint for the get witnesses connection operation.
GetWitnessesConnectionReader is a Reader for the GetWitnessesConnection structure.
GetWitnessesOK describes a response with status code 200, with default header values.
GetWitnessesParams contains all the parameters to send to the API endpoint for the get witnesses operation.
GetWitnessesReader is a Reader for the GetWitnesses structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.