package
0.0.0-20230810035006-5a615651090c
Repository: https://github.com/go-openapi/kvstore.git
Documentation: pkg.go.dev
# Functions
NewDeleteEntry creates a new http.Handler for the delete entry operation.
NewDeleteEntryDefault creates DeleteEntryDefault with default headers values.
NewDeleteEntryNoContent creates DeleteEntryNoContent with default headers values.
NewDeleteEntryParams creates a new DeleteEntryParams object no default values defined in spec.
NewFindKeys creates a new http.Handler for the find keys operation.
NewFindKeysDefault creates FindKeysDefault with default headers values.
NewFindKeysOK creates FindKeysOK with default headers values.
NewFindKeysParams creates a new FindKeysParams object no default values defined in spec.
NewGetEntry creates a new http.Handler for the get entry operation.
NewGetEntryDefault creates GetEntryDefault with default headers values.
NewGetEntryNotFound creates GetEntryNotFound with default headers values.
NewGetEntryNotModified creates GetEntryNotModified with default headers values.
NewGetEntryOK creates GetEntryOK with default headers values.
NewGetEntryParams creates a new GetEntryParams object no default values defined in spec.
NewPutEntry creates a new http.Handler for the put entry operation.
NewPutEntryConflict creates PutEntryConflict with default headers values.
NewPutEntryCreated creates PutEntryCreated with default headers values.
NewPutEntryDefault creates PutEntryDefault with default headers values.
NewPutEntryGone creates PutEntryGone with default headers values.
NewPutEntryNoContent creates PutEntryNoContent with default headers values.
NewPutEntryNotFound creates PutEntryNotFound with default headers values.
NewPutEntryParams creates a new PutEntryParams object no default values defined in spec.
# Constants
DeleteEntryNoContentCode is the HTTP code returned for type DeleteEntryNoContent.
FindKeysOKCode is the HTTP code returned for type FindKeysOK.
GetEntryNotFoundCode is the HTTP code returned for type GetEntryNotFound.
GetEntryNotModifiedCode is the HTTP code returned for type GetEntryNotModified.
GetEntryOKCode is the HTTP code returned for type GetEntryOK.
PutEntryConflictCode is the HTTP code returned for type PutEntryConflict.
PutEntryCreatedCode is the HTTP code returned for type PutEntryCreated.
PutEntryGoneCode is the HTTP code returned for type PutEntryGone.
PutEntryNoContentCode is the HTTP code returned for type PutEntryNoContent.
PutEntryNotFoundCode is the HTTP code returned for type PutEntryNotFound.
# Structs
DeleteEntry swagger:route DELETE /kv/{key} kv deleteEntry
DeleteEntry delete entry API
*/.
DeleteEntryDefault Error
swagger:response deleteEntryDefault
*/.
DeleteEntryNoContent the delete was successful
swagger:response deleteEntryNoContent
*/.
DeleteEntryParams contains all the bound params for the delete entry operation typically these are obtained from a http.Request
swagger:parameters deleteEntry.
DeleteEntryURL generates an URL for the delete entry operation.
FindKeys swagger:route GET /kv kv findKeys
lists all the keys
*/.
FindKeysDefault Error
swagger:response findKeysDefault
*/.
FindKeysOK list the keys known to this datastore
swagger:response findKeysOK
*/.
FindKeysParams contains all the bound params for the find keys operation typically these are obtained from a http.Request
swagger:parameters findKeys.
FindKeysURL generates an URL for the find keys operation.
GetEntry swagger:route GET /kv/{key} kv getEntry
GetEntry get entry API
*/.
GetEntryDefault Error
swagger:response getEntryDefault
*/.
GetEntryNotFound The entry was not found
swagger:response getEntryNotFound
*/.
GetEntryNotModified entry was found but not modified
swagger:response getEntryNotModified
*/.
GetEntryOK entry was found
swagger:response getEntryOK
*/.
GetEntryParams contains all the bound params for the get entry operation typically these are obtained from a http.Request
swagger:parameters getEntry.
GetEntryURL generates an URL for the get entry operation.
PutEntry swagger:route PUT /kv/{key} kv putEntry
PutEntry put entry API
*/.
PutEntryConflict there is a version mismatch for the entry
swagger:response putEntryConflict
*/.
PutEntryCreated entry was created
swagger:response putEntryCreated
*/.
PutEntryDefault Error
swagger:response putEntryDefault
*/.
PutEntryGone The entry is deleted
swagger:response putEntryGone
*/.
PutEntryNoContent entry was updated
swagger:response putEntryNoContent
*/.
PutEntryNotFound The entry was not found
swagger:response putEntryNotFound
*/.
PutEntryParams contains all the bound params for the put entry operation typically these are obtained from a http.Request
swagger:parameters putEntry.
PutEntryURL generates an URL for the put entry operation.
# Interfaces
DeleteEntryHandler interface for that can handle valid delete entry params.
FindKeysHandler interface for that can handle valid find keys params.
GetEntryHandler interface for that can handle valid get entry params.
PutEntryHandler interface for that can handle valid put entry params.
# Type aliases
DeleteEntryHandlerFunc turns a function with the right signature into a delete entry handler.
FindKeysHandlerFunc turns a function with the right signature into a find keys handler.
GetEntryHandlerFunc turns a function with the right signature into a get entry handler.
PutEntryHandlerFunc turns a function with the right signature into a put entry handler.