package
0.0.0-20241227064428-844e847ef4b4
Repository: https://github.com/ianchen0119/go-swagger.git
Documentation: pkg.go.dev

# Functions

New creates a new todos API client.
NewAddOneCreated creates a AddOneCreated with default headers values.
NewAddOneDefault creates a AddOneDefault with default headers values.
NewAddOneParams creates a new AddOneParams object, with the default timeout for this client.
NewAddOneParamsWithContext creates a new AddOneParams object with the ability to set a context for a request.
NewAddOneParamsWithHTTPClient creates a new AddOneParams object with the ability to set a custom HTTPClient for a request.
NewAddOneParamsWithTimeout creates a new AddOneParams object with the ability to set a timeout on a request.
New creates a new todos API client with basic auth credentials.
New creates a new todos API client with a bearer token for authentication.
NewDestroyOneDefault creates a DestroyOneDefault with default headers values.
NewDestroyOneNoContent creates a DestroyOneNoContent with default headers values.
NewDestroyOneParams creates a new DestroyOneParams object, with the default timeout for this client.
NewDestroyOneParamsWithContext creates a new DestroyOneParams object with the ability to set a context for a request.
NewDestroyOneParamsWithHTTPClient creates a new DestroyOneParams object with the ability to set a custom HTTPClient for a request.
NewDestroyOneParamsWithTimeout creates a new DestroyOneParams object with the ability to set a timeout on a request.
NewFindTodosDefault creates a FindTodosDefault with default headers values.
NewFindTodosOK creates a FindTodosOK with default headers values.
NewFindTodosParams creates a new FindTodosParams object, with the default timeout for this client.
NewFindTodosParamsWithContext creates a new FindTodosParams object with the ability to set a context for a request.
NewFindTodosParamsWithHTTPClient creates a new FindTodosParams object with the ability to set a custom HTTPClient for a request.
NewFindTodosParamsWithTimeout creates a new FindTodosParams object with the ability to set a timeout on a request.
NewUpdateOneDefault creates a UpdateOneDefault with default headers values.
NewUpdateOneOK creates a UpdateOneOK with default headers values.
NewUpdateOneParams creates a new UpdateOneParams object, with the default timeout for this client.
NewUpdateOneParamsWithContext creates a new UpdateOneParams object with the ability to set a context for a request.
NewUpdateOneParamsWithHTTPClient creates a new UpdateOneParams object with the ability to set a custom HTTPClient for a request.
NewUpdateOneParamsWithTimeout creates a new UpdateOneParams object with the ability to set a timeout on a request.
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
WithAcceptApplicationIoGoswaggerExamplesTodoListV1JSON sets the Accept header to "application/io.goswagger.examples.todo-list.v1+json".
WithAcceptApplicationJSON sets the Accept header to "application/json".
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
WithContentTypeApplicationIoGoswaggerExamplesTodoListV1JSON sets the Content-Type header to "application/io.goswagger.examples.todo-list.v1+json".
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

# Structs

AddOneCreated describes a response with status code 201, with default header values.
AddOneDefault describes a response with status code -1, with default header values.
AddOneParams contains all the parameters to send to the API endpoint for the add one operation.
AddOneReader is a Reader for the AddOne structure.
Client for todos API */.
DestroyOneDefault describes a response with status code -1, with default header values.
DestroyOneNoContent describes a response with status code 204, with default header values.
DestroyOneParams contains all the parameters to send to the API endpoint for the destroy one operation.
DestroyOneReader is a Reader for the DestroyOne structure.
FindTodosDefault describes a response with status code -1, with default header values.
FindTodosOK describes a response with status code 200, with default header values.
FindTodosParams contains all the parameters to send to the API endpoint for the find todos operation.
FindTodosReader is a Reader for the FindTodos structure.
UpdateOneDefault describes a response with status code -1, with default header values.
UpdateOneOK describes a response with status code 200, with default header values.
UpdateOneParams contains all the parameters to send to the API endpoint for the update one operation.
UpdateOneReader is a Reader for the UpdateOne structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption may be used to customize the behavior of Client methods.