package
0.0.0-20241101134825-edab1ae35bd5
Repository: https://github.com/wangkebin/kbds-ref-restapi.git
Documentation: pkg.go.dev

# Functions

NewDelete creates a new http.Handler for the delete operation.
NewDeleteDefault creates DeleteDefault with default headers values.
NewDeletefiles creates a new http.Handler for the deletefiles operation.
NewDeletefilesDefault creates DeletefilesDefault with default headers values.
NewDeletefilesOK creates DeletefilesOK with default headers values.
NewDeletefilesParams creates a new DeletefilesParams object There are no default values defined in the spec.
NewDeleteOK creates DeleteOK with default headers values.
NewDeleteParams creates a new DeleteParams object There are no default values defined in the spec.
NewDuplicates creates a new http.Handler for the duplicates operation.
NewDuplicatesDefault creates DuplicatesDefault with default headers values.
NewDuplicatesOK creates DuplicatesOK with default headers values.
NewDuplicatesParams creates a new DuplicatesParams object There are no default values defined in the spec.
NewFiles creates a new http.Handler for the files operation.
NewFilesDefault creates FilesDefault with default headers values.
NewFilesOK creates FilesOK with default headers values.
NewFilesParams creates a new FilesParams object There are no default values defined in the spec.
NewHealth creates a new http.Handler for the health operation.
NewHealthDefault creates HealthDefault with default headers values.
NewHealthOK creates HealthOK with default headers values.
NewHealthParams creates a new HealthParams object There are no default values defined in the spec.
NewKbdsRefRestapiAPI creates a new KbdsRefRestapi instance.
NewSearch creates a new http.Handler for the search operation.
NewSearchDefault creates SearchDefault with default headers values.
NewSearchOK creates SearchOK with default headers values.
NewSearchParams creates a new SearchParams object There are no default values defined in the spec.

# Constants

DeletefilesOKCode is the HTTP code returned for type DeletefilesOK.
DeleteOKCode is the HTTP code returned for type DeleteOK.
DuplicatesOKCode is the HTTP code returned for type DuplicatesOK.
FilesOKCode is the HTTP code returned for type FilesOK.
HealthOKCode is the HTTP code returned for type HealthOK.
SearchOKCode is the HTTP code returned for type SearchOK.

# Structs

Delete swagger:route POST /v1/delete/{fileid} delete Delete delete API */.
DeleteDefault generic error response swagger:response deleteDefault */.
Deletefiles swagger:route DELETE /v1/files deletefiles Deletefiles deletefiles API */.
DeletefilesDefault generic error response swagger:response deletefilesDefault */.
DeletefilesOK Successfully deleted the list of fileinfo resources swagger:response deletefilesOK */.
DeletefilesParams contains all the bound params for the deletefiles operation typically these are obtained from a http.Request swagger:parameters deletefiles.
DeletefilesURL generates an URL for the deletefiles operation.
DeleteOK Successfully deleted swagger:response deleteOK */.
DeleteParams contains all the bound params for the delete operation typically these are obtained from a http.Request swagger:parameters delete.
DeleteURL generates an URL for the delete operation.
Duplicates swagger:route POST /v1/duplicates duplicates Duplicates duplicates API */.
DuplicatesDefault generic error response swagger:response duplicatesDefault */.
DuplicatesOK Successfully posted the list of fileinfo resources swagger:response duplicatesOK */.
DuplicatesParams contains all the bound params for the duplicates operation typically these are obtained from a http.Request swagger:parameters duplicates.
DuplicatesURL generates an URL for the duplicates operation.
Files swagger:route POST /v1/files files Files files API */.
FilesDefault generic error response swagger:response filesDefault */.
FilesOK Successfully posted the list of fileinfo resources swagger:response filesOK */.
FilesParams contains all the bound params for the files operation typically these are obtained from a http.Request swagger:parameters files.
FilesURL generates an URL for the files operation.
Health swagger:route GET /v1/healthz health Health health API */.
HealthDefault generic error response swagger:response healthDefault */.
HealthOK Successfully checked health status swagger:response healthOK */.
HealthParams contains all the bound params for the health operation typically these are obtained from a http.Request swagger:parameters health.
HealthURL generates an URL for the health operation.
KbdsRefRestapiAPI the kbds ref restapi API */.
Search swagger:route POST /v1/search search Search search API */.
SearchBody search body swagger:model SearchBody.
SearchDefault generic error response swagger:response searchDefault */.
SearchOK Successfully searched the file list based on a search term swagger:response searchOK */.
SearchParams contains all the bound params for the search operation typically these are obtained from a http.Request swagger:parameters search.
SearchURL generates an URL for the search operation.

# Interfaces

DeletefilesHandler interface for that can handle valid deletefiles params.
DeleteHandler interface for that can handle valid delete params.
DuplicatesHandler interface for that can handle valid duplicates params.
FilesHandler interface for that can handle valid files params.
HealthHandler interface for that can handle valid health params.
SearchHandler interface for that can handle valid search params.

# Type aliases

DeletefilesHandlerFunc turns a function with the right signature into a deletefiles handler.
DeleteHandlerFunc turns a function with the right signature into a delete handler.
DuplicatesHandlerFunc turns a function with the right signature into a duplicates handler.
FilesHandlerFunc turns a function with the right signature into a files handler.
HealthHandlerFunc turns a function with the right signature into a health handler.
SearchHandlerFunc turns a function with the right signature into a search handler.