package
0.2.22
Repository: https://github.com/rai-project/dlframework.git
Documentation: pkg.go.dev

# Functions

NewClose creates a new http.Handler for the close operation.
NewCloseOK creates CloseOK with default headers values.
NewCloseParams creates a new CloseParams object no default values defined in spec.
NewDataset creates a new http.Handler for the dataset operation.
NewDatasetOK creates DatasetOK with default headers values.
NewDatasetParams creates a new DatasetParams object no default values defined in spec.
NewDatasetStream creates a new http.Handler for the dataset stream operation.
NewDatasetStreamOK creates DatasetStreamOK with default headers values.
NewDatasetStreamParams creates a new DatasetStreamParams object no default values defined in spec.
NewImages creates a new http.Handler for the images operation.
NewImagesOK creates ImagesOK with default headers values.
NewImagesParams creates a new ImagesParams object no default values defined in spec.
NewImagesStream creates a new http.Handler for the images stream operation.
NewImagesStreamOK creates ImagesStreamOK with default headers values.
NewImagesStreamParams creates a new ImagesStreamParams object no default values defined in spec.
NewOpen creates a new http.Handler for the open operation.
NewOpenOK creates OpenOK with default headers values.
NewOpenParams creates a new OpenParams object no default values defined in spec.
NewReset creates a new http.Handler for the reset operation.
NewResetOK creates ResetOK with default headers values.
NewResetParams creates a new ResetParams object no default values defined in spec.
NewUrls creates a new http.Handler for the urls operation.
NewUrlsOK creates UrlsOK with default headers values.
NewUrlsParams creates a new UrlsParams object no default values defined in spec.
NewUrlsStream creates a new http.Handler for the urls stream operation.
NewUrlsStreamOK creates UrlsStreamOK with default headers values.
NewUrlsStreamParams creates a new UrlsStreamParams object no default values defined in spec.

# Constants

CloseOKCode is the HTTP code returned for type CloseOK.
DatasetOKCode is the HTTP code returned for type DatasetOK.
DatasetStreamOKCode is the HTTP code returned for type DatasetStreamOK.
ImagesOKCode is the HTTP code returned for type ImagesOK.
ImagesStreamOKCode is the HTTP code returned for type ImagesStreamOK.
OpenOKCode is the HTTP code returned for type OpenOK.
ResetOKCode is the HTTP code returned for type ResetOK.
UrlsOKCode is the HTTP code returned for type UrlsOK.
UrlsStreamOKCode is the HTTP code returned for type UrlsStreamOK.

# Structs

Close swagger:route POST /predict/close Predict close Close a predictor clear it's memory.
CloseOK close o k swagger:response closeOK */.
CloseParams contains all the bound params for the close operation typically these are obtained from a http.Request swagger:parameters Close.
CloseURL generates an URL for the close operation.
Dataset swagger:route POST /predict/dataset Predict dataset Dataset method receives a single dataset and runs the predictor on all elements of the dataset.
DatasetOK dataset o k swagger:response datasetOK */.
DatasetParams contains all the bound params for the dataset operation typically these are obtained from a http.Request swagger:parameters Dataset.
DatasetStream swagger:route POST /predict/stream/dataset Predict datasetStream Dataset method receives a single dataset and runs the predictor on all elements of the dataset.
DatasetStreamOK (streaming responses) swagger:response datasetStreamOK */.
DatasetStreamParams contains all the bound params for the dataset stream operation typically these are obtained from a http.Request swagger:parameters DatasetStream.
DatasetStreamURL generates an URL for the dataset stream operation.
DatasetURL generates an URL for the dataset operation.
Images swagger:route POST /predict/images Predict images Image method receives a list base64 encoded images and runs the predictor on all the images.
ImagesOK images o k swagger:response imagesOK */.
ImagesParams contains all the bound params for the images operation typically these are obtained from a http.Request swagger:parameters Images.
ImagesStream swagger:route POST /predict/stream/images Predict imagesStream Image method receives a list base64 encoded images and runs the predictor on all the images.
ImagesStreamOK (streaming responses) swagger:response imagesStreamOK */.
ImagesStreamParams contains all the bound params for the images stream operation typically these are obtained from a http.Request swagger:parameters ImagesStream.
ImagesStreamURL generates an URL for the images stream operation.
ImagesURL generates an URL for the images operation.
Open swagger:route POST /predict/open Predict open Opens a predictor and returns an id where the predictor is accessible.
OpenOK open o k swagger:response openOK */.
OpenParams contains all the bound params for the open operation typically these are obtained from a http.Request swagger:parameters Open.
OpenURL generates an URL for the open operation.
Reset swagger:route POST /predict/reset Predict reset Clear method clears the internal cache of the predictors */.
ResetOK reset o k swagger:response resetOK */.
ResetParams contains all the bound params for the reset operation typically these are obtained from a http.Request swagger:parameters Reset.
ResetURL generates an URL for the reset operation.
Urls swagger:route POST /predict/urls Predict urls Image method receives a stream of urls and runs the predictor on all the urls.
UrlsOK urls o k swagger:response urlsOK */.
UrlsParams contains all the bound params for the urls operation typically these are obtained from a http.Request swagger:parameters URLs.
UrlsStream swagger:route POST /predict/stream/urls Predict urlsStream Image method receives a stream of urls and runs the predictor on all the urls.
UrlsStreamOK (streaming responses) swagger:response urlsStreamOK */.
UrlsStreamParams contains all the bound params for the urls stream operation typically these are obtained from a http.Request swagger:parameters URLsStream.
UrlsStreamURL generates an URL for the urls stream operation.
UrlsURL generates an URL for the urls operation.

# Interfaces

CloseHandler interface for that can handle valid close params.
DatasetHandler interface for that can handle valid dataset params.
DatasetStreamHandler interface for that can handle valid dataset stream params.
ImagesHandler interface for that can handle valid images params.
ImagesStreamHandler interface for that can handle valid images stream params.
OpenHandler interface for that can handle valid open params.
ResetHandler interface for that can handle valid reset params.
UrlsHandler interface for that can handle valid urls params.
UrlsStreamHandler interface for that can handle valid urls stream params.

# Type aliases

CloseHandlerFunc turns a function with the right signature into a close handler.
DatasetHandlerFunc turns a function with the right signature into a dataset handler.
DatasetStreamHandlerFunc turns a function with the right signature into a dataset stream handler.
ImagesHandlerFunc turns a function with the right signature into a images handler.
ImagesStreamHandlerFunc turns a function with the right signature into a images stream handler.
OpenHandlerFunc turns a function with the right signature into a open handler.
ResetHandlerFunc turns a function with the right signature into a reset handler.
UrlsHandlerFunc turns a function with the right signature into a urls handler.
UrlsStreamHandlerFunc turns a function with the right signature into a urls stream handler.